Skip to content

{ Category Archives } OS

Bypass a Blocked NAT

A few years ago, I was staying in a student accommodation, where I had to pay to connect devices to the internet.  Since I was doing a Master in Computer Science, I had many devices to connect and decided to buy a router / switch Cisco Linksys E2000 and use the Network Address Translation to [...]

Tagged , , ,

Forensic Bookmark.plist from Safari

I was reading some documents on Mac Os X forensic, and I was searching how to get back the Bookmark.plist from safari to parse it and read it easily. I knew that this file is located in the following folder : ~Library/Safary/Bookmarks.plist I was thinking that “plist” files where always XML documents and tried with python to [...]

Tagged , , , ,

Ping Script

This is a basic Ping Script : It first pings the 192.168.1.1 then pings the 192.168.2.1 after that it pings the 8.8.8.8 and finally pings the www.google.com address Why does it pings 1.1 and 2.1 ? Because my friend wanted to use it in different areas, ( he his not familiar with the shell ) [...]

Tagged , , ,

Hidden password in an extended attribute

Today I was playing with some forensic challenges and I got surprised by one of them. We had to analyse an image. My first guess was to use some steganography tools, but after an hour, I decided to move on and to research how to hide data on Mac OS X (because the challenge specified that [...]

Tagged , , , , ,

Intruded Nº4

Level four : level4@leviathan:/wargame$ ./level4 Enter the password> lol bzzzzzzzzap. WRONG level4@leviathan:/wargame$ It looks like the second challenge, but, let’s have a closer look to the inside : (gdb) disassemble main Dump of assembler code for function main: 0×08048523 : lea 0×4(%esp),%ecx 0×08048527 : and $0xfffffff0,%esp 0x0804852a : pushl 0xfffffffc(%ecx) 0x0804852d : push %ebp 0x0804852e [...]

Tagged , , ,

Intruded Nº3

Let’s connect to the server : ssh level3@leviathan.intruded.net -p 10101 ************************************************* * Welcome to Intruded.net Wargame Server * * * * * You are playing “Leviathan” * * * Most levels can be found in /wargame * * * Login: level1:leviathan * * * Support: irc.intruded.net #wargames * * * * * * ! Server [...]

Tagged , , , ,

Intruded nº2

Now that we succeeded the first level, let’s go for the second one. Once connected to the second level you see this : ssh level2@leviathan.intruded.net -p 10101 ************************************************* * Welcome to Intruded.net Wargame Server * * * * * You are playing “Leviathan” * * * Most levels can be found in /wargame * * [...]

Tagged , , , , ,

Intruded nº1

Today I tried the Intruded Leviathan wargame. This resolves the first challenge :   open a terminal type “ssh level1@leviathan.intruded.net -p 10101″ type the password  leviathan Connect to the remote web server : ************************************************* * Welcome to Intruded.net Wargame Server * * * * * You are playing “Leviathan” * * * Most levels can [...]

Tagged , , ,

Troubleshooting your mac

Today, my Mac got stuck, I decided to reset the PRAM and the SMC : PRAM is the acronym of “parameter ram”, and might sometimes get corrupted. Pram contains: Status of AppleTalk Serial Port Configuration and Port definition Alarm clock setting Application font Serial printer location Autokey rate Autokey delay Speaker volume Attention (beep) sound [...]

Tagged , , ,

Code Coloration with VIM on OS X

This will help you to enable the colors in VIM on MAC : Simply follow this line : noktec:~ noktec$ cp /usr/share/vim/vim72/vimrc_example.vim ~/.vimrc Now you should have a VIM with colors enabled when writing code.

Tagged , , ,