EG Information

Main Index
EG Manual
Disclaimer
Legal Information
Hall of Fame
Hall of Shame
Member Rankings
Members List
Meet the Staff
Hacker's Home Page
IRC Flash Chat

Training Missions

Read Me First
Basic Skills
Realistic Scenarios
Cryptography
Software Cracking
Linux ELF Binary Cracking
Logical Thinking
Programming
Captcha Cracking
Patching
Steganography
Deface This Wall
/dev/null
/dev/urandom
/dev/extra

Knowledge Bank

Discussion Forums
Exploit Database
PasteBin
RSS Feeds RSS
Articles / Tutorials
Videos
Online EG MP3 Player Radio
Downloads
Tools

Code Resources

Submit Code
Ajax
ASM
Bash
C
CPP
Csharp
Delphi
Haskell
Java
Javascript
Jython
Lisp
mIRC
MySQL
Perl
PHP
Python
QBASIC
VisualBasic

Pimp Us Out!

Review enigmagroup.org on alexa.com

Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site And Create A Link Back To Enigma Group.

Enigma Group

Enigma Group

Enigma Group

Enigma Group
 

Enigma Group's Articles



Return to Category Selection

Rooting a Windows Machine : Lesson 2-SMB Exploits - Submitted By: DarkPontifex 2008-08-19 11:11:43
Yeah thats Right. Alright you made it past lesson 1 congragulations!!! YEAH!!! Anyway Now is a Good time to load yourself on some basic rooting  tools namely a portscanner, password cracker,and in this particular case you will need a tool known as ENUM.exe (http://www.governmentsecurity.org/forum/index.php?act=Attach&type=post&id=109) which stands for Enumeration, which is the third stage of rooting, speaking of which, we have to get some learning. TO THE LEARN-MOBILE

Rooting Computers - The Steps

In Rooting the First step is called "Footprinting" this  involves WHOIS searchs,traceroot,DNS zone transfers, IP mapping you know that kind of stuff, We get into this in the next chapter.

The Second step is Scanning which can mostly be completed with NMAP (http://www.insecure.org/nmap/download.html)

The third step is Enumeration as I already said, This involves Listing user accounts, File shares, and running applications.

The fourth step is the kicker, Gaininig Access -there will be a couple chapters devoted to this basically this involves ways of getting an account.You will need a password cracker such as JTR (http://www.openwall.com/john/)

The fifth step is escalation (If you have not already accomplished in step 4) This basically means hijacking the SAM and cracking the hashs.

Then comes Pilfering - evaluate the trust relations between clients, search for neat info you want, fuck up the computer, the stuff you wanna do.

Then the 7th (optional) step is placing backdoors - such as VNC, backorifice, etc. so incase the exploit is fixed you can still gain access.

The 8th (NOT OPTIONAL) step is erasing logs - There is gonna be a chapter for this - basically it means not leaving any traces ANYWHERE.

Back to SMB or Server Message block. Most XP/2000 computers have this improperly configured, It comes badly configured by default, and is difficult to properly configure. I am willing to bargain 75% of all computers are vulnerable to this.

SMB attacks are very similar in nature to NetBios attacks, but insted of releing on NetBios shares, you use SMB shares.


Step 1 > IP range
The first step is to obtain remote IP addresses running NT, W2000, or XP. I will talk about scanning huge IP fields for IPs later but as for now I am assuming you know the IP of your victim.

Step 2 > Enumerating remote target
Next step is to obtain information about the remote IP address, user account info, share lists, etc. To do this I had to first establish an anonymous null connection to the remote PC's named pipe IPC$(Keep reading I explain and it gets simpler) (A resource sharing the named pipes that are essential for communication between programs. ) This can be accomplished by using the Windows NET command, below is the syntax for establishing an anonymous null connection to remote PC's named pipe. NET USE \\nnn.nnn.nnn.nnn\ipc$ "" /u:"" (Replace "nnn" with remote IP address) Once the command has executed successfully you can then use other tools to enumerate the remote host.  The syntax for enumerating the remote user account and share info is ENUM -U -S -d nnn.nnn.nnn.nnn  (did i mention nnn.nnn.nnn.nnn is the IP?)

Step 3 > Getting root
Now that we have successfully enumerated the remote PC we can now take the next step and that's to attempt in accessing the remote computer's hard drive. Our job has been cut down to half the task cause we now have a valid username all we need to do if necessary is guess the password. Once again I use enum for this task, enum is a powerful tool and one of my favorites because it offers other options such as Dictionary Attack! . Below is the syntax for using the dictionary attack function for ENUM enum -D -u "Administrator (Replace with Root/SYSOP Username)" -f pswdfile.txt nnn.nnn.nnn.nnn (The switch -D is to execute dictionary attack; the switch -u requires a username; switch -f requires the path to a word list file; and nnn.nnn.nnn.nnn should be replaced with the remote IP)

See Me Next Time In  LESSON 3 - Footprinting

Return to Category Selection
If you wish to submit a comment, you must be a registered member and logged in.

Login or Register.



Return to Category Selection

 

Who Visited EnigmaGroup Today?

2039 Guests, 210 Users (151 Spiders)
684596697, 1412, eurosamba, VeryCreativeName, Gregsen, CJ_Omaha, DaneInAus, NLG99, ltlspeed, Silvanos75, aslolo, Slear, Ultimateneta, Heise, uzer2, Plegerz, Muhh24, MattxX, dummy name, pollolololo, NIGHTWOLF, tomer512, jaberial, M1CS74P3, vogu3, Kennaro, S73f4n, NeulandMerkel, Koekje, madhur0512, shankarmg, hack2hack, graymatter2, TheJCprogrammer, Bluehat, angry, privateren, cor3dump, NavierStrokes, N0T_, KC-Cracky, SamSor, true, kikoWicked, stiva, Autrui, hemtez, taviso, MVenters, Robinterra, Rakybrabe, Racoon, alejocr7sr, kenneth_osele, mobashua, redknight99, Everhard, amone, ASheridan, a.cisco, crocetti, terminator3456, Hachronn, b1nary, Repuhlsive, sam_roth, ahmanxdd, ynot.tr13, MReilly, Glayciez, RichardSl, tsepikkei1024, verena, dagocan, KnightOwl, Tro1055, Drea1991, germanlm93, ahmed.abbas, xGADOx, t1gr3, themarcus, charon666, miguelds1108, nate255, kerobero, emcpear, MonTty, kanamet, eredar87, Nightraven, Squeakbox, Assassin, Nastradamus, OSX312, [psychedelicinsomnia], Ionelywanderer, crater9909, MAsterV, Ethlaron, Hello_World, ktsukino, theshady, Timoti, Shak3s, HansPeterRules, mrfreem4n, jdavidagudelo, d@rk_m@tter, Eni90, zbert, wayne_cuhk, cl3onis, johnnyching86, d3ad7rack, NWHirschfeld, Swampi, cls, MegamanBitch, st3phn, syst3mf4ilur3, Alpha Et Omega, Nemeziz, graveslider8, Kontra-Que, cve916, bri777, mortizjr, MrSnack, miliardo18, FMH_lin@t-online.de, GreeniePie, gravesman, ElOx..!!, kasaji, TasteTheRainbow, Hack!, cox, cvbnm, max1094, macmata, DominicGozy, nobod, whocares12, DerJan, PeterEnis, drofrub, testdercoole, considerate.poop, Backster, Tom14681, hainze, geogeneration, Ozzilator, slev_n, Cgboal, violentpython, FischKiller, Baru, Zynx, caos1986, statix, orinion77, FroZen2525, iNsaNe744, cleminator, محمد بن حمزة, KaskadekingDE, mmtline, weedstar1989, Conversio, extremfree123er, Thopajo, JanWeezy, Blizer, HeX, try411, roymillar, flo110893, Qwerty123, Andre2222, windindeed, Unlift, Los Conquistador, qpx, Ozzyman2, sigret, null, c0re, shizonic, psychomarine, Kmi, synstealth, Halfi, Fabi94, 1apfel7, aton1961, r3zn3t, timebomb2788, miketest, Flick__, UEmh, Soda Cookie, Bregi, WVillasen, worc, Wiggl, fairfax2811, sdforcesa, unholyblood
 
Enigma Group