28th July, 2008

My favorite challenges website /--evilbitz   

Hi,

I wanted to share with you my favorite challenges website, +Ma’s Reversing. Although I wasn’t very active in this website in the last two years (don’t have a lot of free time), it is still a nice place to come back to and spend a day or two on solving a tough ridlle :-)

Two things you should know:

  1. The plus sign next to +Ma, indicates that the founder of Ma’s reversing, Malattia, was an active student in the +HCU academy which was foudned by +ORC in 1997. +ORC really gave a big push forward to spread the knowledge of cracking/reversing through his tutorials.
  2. If you’ll visit +Ma’s Reversing, you’ll notice a weired domain name. Well… the numbers actually represents a 32bit value of his old server’s IP address :-) I find it quite amusing.

Anyways, if messing with steganography or solving classical ciphers (let’s say Playfair) is your thing, this website will appeal to you.
Try to deserve it :-)



Posted in hacking, reversing | Be The First To Comment!

22nd July, 2008

Fake Police Light bar for your N95 /--eitama   

Turn your Nokia N95 (Tested) into a police light bar. This was Eitam’s sick idea :)

  1. Install Pyhton for S60 on your Nokia N95
  2. Extract Fake police light bar for your N95 and copy police.py to your N95 (to the Python directory)
  3. Start Python on your phone
  4. Choose Options -> “Run Script…”
  5. Select the file police.py, click OK
  6. Place your N95 on the front of your cars dashboard when it is pointing outside, this is for cars that are in front of you so they would see the lights when the driver look at their rear mirror
  7. Start using the horn so cars in front of you will move aside and make way 8)

Cheers,
Guy & Eitam.



Posted in programming, random | Be The First To Comment!

22nd July, 2008

The Pinky Principle /--evilbitz   

It came to me that most people that need to decide whether to recruit a person that will work with them or under their management, will usually recruit a person that is a bit weirder than them. This is so they will feel normal around them. I’m just seeing it here and there… :)

The pinky principle says that with time, most of the workers in a certain company will be weird because the amount of weird people will grow and grow… the weird workers will finally reach a management position and will recruit other people that are even weirder than them.

If you’ll look at it from a different angle then every brain needs a pinky, but not every pinky needs a brain.



Posted in philosophy, random | 1 Comment

21st July, 2008

RS232 to TCP Using TCL /--eitama   

There is a wide selection of applications that allow bridging the serial port to TCP sockets,
Some of them are not free, and those which are free, do not run on linux.

This drove me to write my own solution to my needs.
As I currently enjoy the simplicity of TCL (Tool Command Language) I wrote the application in pure TCL.
It runs on Windows And Linux without the need to install anything.

The application runs on a computer (Windows / Linux) that is connected to some device via a serial port (RS232)
It will listen on a TCP port of your choice, accepting TCP connections up to the maximum defined by you.
All TCP clients may interact with the serial port at the same time, and all TCP clients recieve all the events
from other TCP clients.
This allows for multiple people to work on the same serial at the same time.
Installation steps :

  1. Download the zip file.
    RS232 to TCP
  2. Extract it to a folder of your choice.
  3. Read the readme.txt file, it is not too long and is very helpful.
  4. Edit tcp2com.cfg to suite your needs.
  5. Install the standard free distribution of ActiveState TCL.
    From : www.activestate.com
  6. Run tcp2com.tcl using TCLSH.

I have adapted the application to suite my needs,
I invite you to do the same 8)

Cheers,
Eitam.



Posted in programming | Be The First To Comment!

21st July, 2008

An implementation of ACPI ASL print function for Xen /--evilbitz   

Hi All,

This post is more intended for Xen developers but you might be able to understand a thing or two.

ASL code exists in the DSDT and SSDT tables of ACPI. This code is provided by the system manufacturer and is intenteded to provide an abstract interface for configuring and accessing the hardware, especially those integrated parts such as the embedded controller, etc… The operating system has an interpreter which execute ASL in its context, this is how you write hardware specific code that can be executed on any ACPI compliant OS.

Part of my work now involves merging ACPI ASL bits in order to support PCI/PCIe pass-through capabilities. In order to debug ASL code, I’ve made a debug function which gets a string as an argument and then write each byte of the string to the IO port 0xE9, this port is being used by Xen for HVM debugging, so basically if you have your UART connected, all the strings will appear there.

Here is the code:

|     /* Debug ACPI using io-port 0xE9 */
|    OperationRegion (DBGP, SystemIO, 0xE9, 0×01)
|    Field (DBGP, ByteAcc, NoLock, Preserve)
|    {
|       /* HVM debug char */
|       HDBG, 8
|    }
|
|    Method (ZDBG, 1, NotSerialized)
|    {
|       /* Local0 – length of the debug string */
|       Store (SizeOf (Arg0), Local0)
|       Increment (Local0)
|       /* Init STR buffer from Arg0 */
|       Name (STR, Buffer (Local0) {})
|       Store (Arg0, STR)
|
|       /* Append prefix “ACPI-DBG: ” */
|       Name (PRFX, Buffer () {
|          0×41, 0×43, 0×50, 0×49, 0×2d,
|          0×44, 0×42, 0×47, 0×3a, 0×20
|       })
|
|       /* INPR -> Concatenated string with prefix */
|       Add (Local0, 0×0a, Local0)
|       Name (INPR, Buffer (Local0) {})
|       Concatenate (PRFX, STR, INPR)
|
|       /* Output string to ioport HDBG */
|       Store (Zero, Local1)
|       Decrement (Local0)
|       While (LLess (Local1, Local0))
|       {
|          Store (DerefOf (Index (INPR, Local1)), HDBG)
|          Increment (Local1)
|       }
|       /* End with a newline */
|       Store (0×0a, HDBG)
|    }

Thanks!



Posted in lowlevel, programming | 1 Comment

Top »
"If you can't join them, beat them!"
Search Evilbitz: