Share Knowledge

Share Knowledge.info "Because knowledge must be free.."

TRACING A HACKER FIND OUT WHO TRY TO PENETRATE YOU

10.16.2009 · Posted in Tutorials

Tracing A Hacker find out who try to hack you tutorialsHow to Tracing a Hacker!!

Sometimes, it’s only not sufficient to simply know that there’s a Trojan or Virus onboard. Sometimes we need to know only since that record is onboard, how it got there – yet many importantly, who put it there.

By enumerating a assailant in a same approach that they have enumerated a victim, we will be equates to to see a bigger design as great as settle what you’re up against. But how can we do this? Read on…

## Connections have a universe go turn ##

The mechanism world, during any rate. Every singular time we open up a website, send an email or upload your webpages in to cyberspace, we have been joining to an additional appurtenance in sequence to get a pursuit done. This, of course, presents a vital problem, since this elementary action is what allows antagonistic users to aim a appurtenance in a initial place.

# How do these people find their victim?

Well, initial of all, they need to get reason of a victim’s IP Address. Your IP (Internet Protocol) residence reveals your indicate of entrance to a Internet as great as can be used in many ways to equates to your online activities many, many problems. It might not exhibit we by name, yet it might be singly identifiable as great as it represents your digital ID whilst we have been online (especially so if you’re upon a organisation IP / DSL etc).
With an IP address, a Hacker can find out all sorts of uncanny as great as smashing things about their plant (as great as causing all kinds of alternative trouble, a greatest dual being Portnukes/Trojans as great as a dreaded DoS ((Denial of Service)) attack). Some Hackers similar to to pick up IP Addresses similar to badges, as great as similar to to go during a behind of to aged targets, messing them around each so often. An IP residence is incredibly easy to acquire – until recently, many realtime discuss applications (such as MSN) were goldmines of information. Your IP Address is contained as partial of a Header Code upon all emails that we send as great as webpages that we revisit can store all kinds of inform about you. A usual pretence is for a Hacker to go in to a Chatroom, pulp his ostensible website residence all over a place, as great as when a gullible plant visits, all about your mechanism from a handling complement to a shade fortitude can be logged…and, of course, a all critical IP address. In addition, a elementary network-wide pier indicate will exhibit unprotected aim machines, as great as a war-dialler will indicate thousands of lines for unprotected modems that a hacker can exploit.
So right divided that we know a small of a simple dangers, you’re substantially wondering how these people bond to a victim’s machine?

## Virtual as great as Physical Ports ##

Everything that we recieve over a Internet comes as a outcome of alternative machines joining to your computer’s ports. You have dual types; Physical have been a holes in a during a behind of of your machine, yet a critical ones have been Virtual. These concede send of interpretation in between your mechanism as great as a outward world, a small with allocated functions, a small without, yet meaningful how these work is a initial step to anticipating who is aggressive you; we simply MUST have a simple believe of this, or we won’t get many further.

# What a phrases TCP/UDP essentially mean

TCP/IP stands for Transmission Control Protocol as great as Internet Protocol, a TCP/IP parcel is a retard of interpretation that is compressed, afterwards a header is put upon it as great as it is sent to an additional mechanism (UDP stands for User Datagram Protocol). This is how ALL internet transfers occur, by promulgation packets. The header in a parcel contains a IP residence of a a single who creatively sent we it. Now, your mechanism comes with an glorious (and free) apparatus that allows we to see anything that is continuous (or is attempting to connect) to you, nonetheless bear in thoughts that it offers no restraint protection; it simply tells we what is starting on, as great as that apparatus is NETSTAT.

## Netstat: Your initial line of counterclaim ##

Netstat is a really quick as great as arguable process of observant only who or what is continuous (or connecting) to your computer. Open up DOS (Start/Programs/MS-DOS Prompt upon many systems), as great as in a MSDOS Prompt, type:

netstat -a

(make sure we embody a space inbetween a “t” as great as a “a”).

If you’re continuous to a Internet when we do this, we should see something like:

Active Connections
Proto Local Address Foreign Address StateTCP macintosh: 20034 modem-123.tun.dialup.co.uk: 50505 ESTABLISHEDTCP macintosh: 80 proxy.webcache.eng.sq: 30101 TIME_WAITTCP macintosh MACINTOSH: 0 LISTENINGTCP macintosh MACINTOSH: 0 LISTENINGTCP macintosh MACINTOSH: 0 LISTENING

Now, “Proto(col)” simply equates to what kind of interpretation delivery is receiving place (TCP or UDP), “Local address” is your mechanism (and a series subsequent to it tells we what pier you’re continuous on), “Foreign Address” is a appurtenance that is continuous to we (and what pier they’re using), as great as eventually “State” is simply possibly or not a tie is essentially established, or possibly a appurtenance in subject is watchful for a transmission, or timing out etc.

Now, we need to know all of Netstat’s assorted commands, so type:

netstat ?

You will get something similar to this:

Displays custom census data as great as stream TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connectors as great as listening ports.
-e Displays Ethernet statistics. This might be total with a -s option.
-n Displays addresses as great as pier numbers in numerical form.
-p proto Shows connectors for a custom specified by proto; proto might be TCP or UDP. If used with a -s choice to arrangement per-protocol statistics, proto might be TCP, UDP, or IP.
-r Displays a routing table.
-s Displays per-protocol statistics. By default, census data have been shown for TCP, UDP as great as IP; a -p choice might be used to discuss a subset of a default.

Have a fool around around with a assorted options, yet a many critical work of these methods is when we mix them. The many appropriate authority to work is

netstat -an

because this will list all connectors in Numerical Form, that creates it a lot simpler to snippet antagonistic users….Hostnames can be a small treacherous if we do not know what you’re we do (although they’re simply understandable, as we shall see later). Also, by we do this, we can additionally find out what your own IP residence is, that is regularly useful.

Also,

netstat -b

will discuss it we what ports have been open as great as what programs have been joining to a internet.

## Types of Port ##

It would be unfit to find out who was aggressive we if computers could only entrance any aged pier to perform an critical function; how could we discuss it a mail send from a Trojan Attack? Well, great news, since your regular, normal connectors have been reserved to low, ordinarily used ports, as great as in general, a aloft a series used, a some-more we should be suspicious. Here have been a 3 categorical sorts of port:

# Well Known Ports These run from 0 to 1023, as great as have been organisation to a usual services that run upon them (for example, mail runs upon channel twenty-five tcp/udp, that is smtp (Simple Mail Transfer Protocol) so if we find a single of these ports open (and we customarily will), it’s customarily since of an necessary function.

# Registered Ports These run upon 1024 to 49151. Although not organisation to a sold service, these have been routinely used by networking utilities similar to FTP software, Email customer as great as so on, as great as they do this by opening upon a pointless pier inside of this operation prior to communicating with a remote server, so do not be scared (just be wary, perhaps) if we see any of these open, since they customarily tighten automatically when a complement that’s regulating upon them terminates (for example, sort in a usual website name in your browser with netstat open, as great as watch as it opens up a pier during pointless to action as a aegis for a remote servers). Services similar to MSN Messenger as great as ICQ customarily run upon these Ports.

# Dynamic/Private Ports Ranging from 49152 to 65535, these things have been frequency used solely with sure programs, as great as even afterwards not really often. This is in truth a usual operation of a Trojan, so if we find any of these open, be really suspicious. So, only to recap:

Well Known Ports 0 to 1023 Commonly used, small danger.
Registered Ports 1024 to 49151 Not as common, only be careful.
Dynamic/Private Ports 49152 to 65535 Be intensely suspicious.

## The lane is upon ##

Now, it is necessary that we know what you’re seeking for, as great as a many usual approach someone will conflict your appurtenance is with a Trojan. This is a module that is sent to we in an email, or attempts to bond itself to a single of your ports, as great as when activated, it can give a user your passwords, entrance to your tough drive…they can even have your CD Tray cocktail open as great as shut. At a finish of this Document, we will find a list of a many ordinarily used Trojans as great as a ports they work on. For now, let’s take an additional demeanour during that initial e.g. of Netstat….

Active Connections
Proto Local Address Foreign Address StateTCP macintosh: 27374 modem-123.tun.dialup.co.uk: 50505 ESTABLISHEDTCP macintosh: 80 proxy.webcache.eng.sq: 30101 TIME_WAITTCP macintosh MACINTOSH: 0 LISTENINGTCP macintosh MACINTOSH: 0 LISTENINGTCP macintosh MACINTOSH: 0 LISTENING

Now, true away, this should have some-more clarity to you. Your mechanism is continuous upon dual ports, 80 as great as 27374. Port 80 is used for http/www transmissions (ie for all intents as great as purposes, a how we bond to a net, nonetheless of march it’s a lot some-more difficult than that). Port 27374, however, is clearly suspicious; initial of all, it is in a purebred pier range, as great as nonetheless alternative services (like MSN) work these, let’s pretence that we have zero during all regulating similar to present messengers, webpages etc….you’re simply continuous to a net by proxy. So, right divided this tie is seeking even some-more troublesome, as great as when we realize that 27374 is a usual pier for Netbus (a potentially mortal Trojan), we can see that something is unfavourable here. So, what we would do is:

1) run Netstat , as great as use:

Netstat -a

then

Netstat -an

So we have both Hostnames AND IP addresses.


## Tracerouting ##

Having a attacker’s IP is all great as great as good, yet what can we do with it? The answer is, a lot more! It’s not sufficient to have a address, we additionally need to know where a attacker’s connectors have been entrance from. You might have used programmed tracerouting collection before, yet do we jknow how they work?
Go during a behind of to MSDOS as great as type

tracert *type IP address/Hostname here*

Now, what happens is, a Traceroute will uncover we all a computers inbetween we as great as a aim machine, together with blockages, firewalls etc. More mostly than not, a hostname residence listed prior to a final a single will go to a Hacker’s ISP Company. It’ll possibly contend who a ISP is somewhere in there, or else we run a second snippet upon a latest IP/hostname residence to see who a ISP Company in subject is. If a Hostname that we get during a behind of doesn’t essentially appear to discuss an tangible geographical place inside of a text, we might consider all is lost. But fright not! Suppose we get a hostname such as

http://www.haha.com

Well, that tells us nothing, right? Wrong….simply come in a hostname in your browser, as great as yet many times we will get zero back, infrequently it will finalise to an ISP, as great as from there we can simply find out a place as great as in what areas they operate. This during slightest gives we a organisation geographical place to lift out your investigations in.

If we STILL have nothing, as a final review we COULD try joining to your target’s ISP’s pier thirteen by Telnet, that will discuss it we how many hours forward or during a behind of this ISP is of GMT, to illustrate giving we a geographical snippet formed upon a time referred to (although bear in mind, a ISP might be we do something foolish similar to not carrying their clocks set correctly, giving we a dubious trace. Similarly, a usual tactic of Hackers is to upon purpose have their computer’s time set to a all wrong time, so as to chuck we off a scent). Also, unless we know what you’re doing, we wouldn’t suggest regulating Telnet (which is outward a parameters of this tutorial).

## Reverse DNS Query ##

This is substantially a many in effect approach of regulating a snippet upon somebody. If ever you’re in a chatroom as great as we see someone observant that they’ve “hacked in to a heavenly body orbiting a Earth, as great as have been receiving cinema of your residence right now”, omit them since that’s only bad film nonsense. THIS process is a approach to go, with courtesy to anticipating out what nation (even might be what State/City etc) someone resides, nonetheless it’s essentially roughly unfit to find an EXACT geographical place yet essentially violation in to your ISP’s Head Office as great as regulating off with a safe.
To run an rDNS query, simply go during a behind of to MS-DOS as great as type

netstat

and strike return. Any active connectors will finalise to hostnames rsther than than a numerical format

# DNS

DNS stands for Domain Name Server. These have been machines continuous to a Internet whose pursuit it is to keep lane of a IP Addresses as great as Domain Names of alternative machines. When called upon, they take a ASCII Domain Name as great as modify it to a applicable numeric IP Address. A DNS poke translates a hostname in to an IP address….which is since we can come in “www.Hotmail.com” as great as get a website to come up, instead of carrying to essentially recollect Hotmail’s IP residence as great as come in that instead. Well, Reverse DNS, of course, translates a IP Address in to a Hostname (ie – in letters as great as difference instead of numbers, since infrequently a Hacker will occupy assorted methods to stop Netstat from picking up a scold Hostname).
So, for example,

298.12.87.32 is NOT a Hostname.
mail6.bol.net.au IS a Hostname.

Anyway, see a territory during a end? (au) equates to a aim lives in Australia. Most (if not all) hostnames finish in a specific Country Code, to illustrate squeezing down your poke even further. If we know your target’s Email Address (ie they foolishly sent we a hatred mail, yet were stupid sufficient to work a current email address) yet zero else, afterwards we can work a Country codes to ascertain where they’re from as well. You can additionally ascertain a IP residence of a sender by seeking during a emails header (a “hidden” line of formula that contains inform upon a sender)…on Hotmail for example, go to Preferences, as great as name a “Full Header’s Visible” option. Alternatively, we can run a “Finger” Trace upon a email address, at:
www.samspade.org
Plus, a small ISP’s embody their name in your Email Address with them as good (ie Wanadoo, Supanet etc), as great as your Hacker might be regulating an email comment that’s been supposing by a Website hosting company, definition this would substantially have a website host’s name in a email residence (ie Webspawners). So, we could work a inform gleaned to might be even lane down their website (then we could run a website check as referred to previously) or inform abuse of that Website Provider’s Email comment (and thus, a Website that it goes with) to
abuse@companynamegoeshere.com
If your Hacker happens to reside in a USA, go to:
www.usps.gov/ncsc/lookups/abbr_state.txt
for a finish list of US State abbreviatons.

## List of Ports ordinarily used by Trojans ##

Please note that this isn’t a finish list by any means, yet it will give we an thought of what to demeanour out for in Netstat. Be wakeful that a small of a reduce Ports might great be regulating current services.

UDP: 1349 Back Ofrice DLL
31337 BackOfrice 1.20
31338 DeepBO
54321 BackOfrice 2000

TCP: twenty-one Blade Runner, Doly Trojan, Fore, Invisible FTP, WebEx, WinCrash
23 Tiny Telnet Server
25 Antigen, Email Password Sender, Haebu Coceda, Shtrilitz Stealth, Terminator, WinPC, WinSpy, Kuang2 0.17A-0.30
31 Hackers Paradise
80 Executor
456 Hackers Paradise
555 Ini-Killer, Phase Zero, Stealth Spy
666 Satanz Backdoor
1001 Silencer, WebEx
1011 Doly Trojan
1170 Psyber Stream Server, Voice1234 Ultors Trojan
1243 SubSeven 1.0 – 1.8
1245 VooDoo Doll
1492 FTP99CMP
1600 Shivka-Burka
1807 SpySender
1981 Shockrave
1999 BackDoor 1.00-1.03
2001 Trojan Cow
2023 Ripper
2115 Bugs
2140 Deep Throat, The Invasor
2801 Phineas Phucker
3024 WinCrash
3129 Masters Paradise
3150 Deep Throat, The Invasor
3700 Portal of Doom
4092 WinCrash
4567 File Nail 1
4590 ICQTrojan
5000 Bubbel
5000 Sockets de Troie
5001 Sockets de Troie
5321 Firehotcker
5400 Blade Runner 0.80 Alpha
5401 Blade Runner 0.80 Alpha
5402 Blade Runner 0.80 Alpha
5400 Blade Runner
5401 Blade Runner
5402 Blade Runner
5569 Robo-h@ck
5742 WinCrash
6670 DeepThroat
6771 DeepThroat
6969 GateCrasher, Priority
7000 Remote Grab
7300 NetMonitor
7301 NetMonitor
7306 NetMonitor
7307 NetMonitor
7308 NetMonitor
7789 ICKiller
8787 BackOfrice 2000
9872 Portal of Doom
9873 Portal of Doom
9874 Portal of Doom
9875 Portal of Doom
9989 iNi-Killer
10067 Portal of Doom
10167 Portal of Doom
10607 Coma 1.0.9
11000 Senna Spy
11223 Progenic trojan
12223 h@ck´99 KeyLogger
12345 GabanBus, NetBus
12346 GabanBus, NetBus
12361 Whack-a-mole
12362 Whack-a-mole
16969 Priority
20001 Millennium
20034 NetBus 2.0, Beta-NetBus 2.01
21544 GirlFriend 1.0, Beta-1.35
22222 Prosiak
23456 Evil FTP, Ugly FTP
26274 Delta
30100 NetSphere 1.27a
30101 NetSphere 1.27a
30102 NetSphere 1.27a
31337 Back Orifice
31338 Back Orifice, DeepBO
31339 NetSpy DK
31666 BOWhack
33333 Prosiak
34324 BigGluck, TN40412 The Spy
40421 Masters Paradise
40422 Masters Paradise
40423 Masters Paradise
40426 Masters Paradise
47262 Delta
50505 Sockets de Troie
50766 Fore
53001 Remote Windows Shutdown
54321 SchoolBus .69-1.11
61466 Telecommando
65000 Devil

## Summary ##

I goal this educational is utilitarian in display we both how to secure yourself opposite neglected connections, as great as additionally how to establish an attacker’s identity. The Internet is by no equates to as unknown as a small people consider it is, as great as nonetheless this is to a wreckage of people’s confidence online, this additionally functions both ways….it IS probable to find as great as stop even a many dynamic of attackers, we only have to be studious as great as keep sport for clues that will assistance we put an finish to their exploits.

–RoShan–

Leave a Reply

You must be logged in to post a comment.