Showing posts with label Information Gathering. Show all posts
Showing posts with label Information Gathering. Show all posts

2/1/12

Task 5

http://www.ziddu.com/download/18481250/IG.tar.gz.html

Shodan

Shodan is a search engine that lets you find specific computers (routers, servers, etc.) using various filters. Some also describe it as a container scanner banners directory or search engine. (Banners)
 
Web search engines, like Google and Bing, which is great for finding your website. But what if you are interested in finding a computer to run certain parts of the software (like Apache)? Or if you want to know the version of Microsoft's IIS is the most popular? Or you want to see how many anonymous FTP server there? Maybe new vulnerabilities emerge and you want to see how many hosts it can infect?


Rather than to locate specific content on a particular search term. SHODAN is
is designed to help user find specific nodes (desktop, server, routers,switches)
with specific content in their banners

optimizing search result requires some basic knowledge of banners



what's Shodan index?Most of the data taken from the 'banner', which is the meta-data server sends back to the client. This can be information about the server software, support service options, a welcome message or whatever the client wants to know before interacting with the server.



BasicsShodan interface (interface) search, starting with1. Searh the input box2. State map: click on a country to just see the computer from there in the results3. Service filter: deciding where to look4. Options bar: click on it to see the upper filter


From the results of search Shodan1. Search input: a query that we use to find2. Save: save useful search query.3. Export: export up to 1,000 results in XML format.4. Results info: shows how much the number of hosts found for the request.5. Country details: highlights countries that have the most suitable for your query.6. Left result: contains an IP, operating system, and state the date when the computer is added in. If there is information available domain then that will be displayed as well.7. the right side of the results: it shows a banner with the search term (s) highlighted.



 

Maltego

Maltego is a program that can be used to determine the relationship and the relationship between the real world: The people, the group of people (social networks), Companies, Organizations, Web sites, Internet infrastructure such as:
- People
- Groups of people (social networks)
- Companies
- Organization
- Web sites 
- Internet infrastructure such as:
    - Domains
    - DNS names
    - Netblocks
    - IP addresses

- Phrases
- Affiliations
- Documents and files




Maltego can use the collection of information of all security-related jobs. This will save time and will allow for more accurate work.

Maltego help demonstrate interconnected relationships between the items sought.

Maltego help the search is much more powerful, accurate results

Maltego can find the hidden information



Register and activation

Open maltego usually there will be a notice to register, you will be linked to the registration form

 













 fill in the form you will receive confirmation by email for activation

1/25/12

Information Gathering


I. spentera.com

#DNS Information
dnsmap

root@bt:/pentest/enumeration/dns/dnsmap# ./dnsmap spentera.com
dnsmap 0.30 - DNS Network Mapper by pagvac (gnucitizen.org)

[+] searching (sub)domains for spentera.com using built-in wordlist
[+] using maximum random delay of 10 millisecond(s) between requests

cpanel.spentera.com
IP address #1: 74.81.66.104

ftp.spentera.com
IP address #1: 74.81.66.104

localhost.spentera.com
IP address #1: 127.0.0.1
[+] warning: domain might be vulnerable to "same site" scripting (http://snurl.com/etbcv)

mail.spentera.com
IP address #1: 74.125.31.121

webmail.spentera.com
IP address #1: 74.81.66.104

www.spentera.com
IP address #1: 74.81.66.104

[+] 6 (sub)domains and 6 IP address(es) found
[+] completion time: 947 second(s)

#Route Information
dmitry

root@bt:~# dmitry -wnspb spentera.com
Deepmagic Information Gathering Tool
"There be some deep magic going on"

HostIP:74.81.66.104
HostName:spentera.com

Gathered Inic-whois information for spentera.com
---------------------------------
Domain Name: SPENTERA.COM
Registrar: ENOM, INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com
Name Server: DNS1.NAMECHEAPHOSTING.COM
Name Server: DNS2.NAMECHEAPHOSTING.COM
Status: ok
Updated Date: 12-may-2011
Creation Date: 15-feb-2011
Expiration Date: 15-feb-2012

>>> Last update of whois database: Wed, 25 Jan 2012 20:46:21 UTC <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the d�n naistrat
ion in th�ne regis��g��u��Dtry is�
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
ter�N doamai�g�w��n names� or��� ecessary to regis
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submi�g a o abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or ot�use is ex
pressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
s o�Nf use.�g��v�� VeriSi�gn ����ide by these term
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and

Gathered Netcraft information for spentera.com
---------------------------------

Retrieving Netcraft.com information for spentera.com
No uptime reports available for host: spentera.com
Netcraft.com Information gathered

Gathered Subdomain information for spentera.com
---------------------------------
Searching Google.com:80...
HostName:www.spentera.com
HostIP:74.81.66.104
Searching Altavista.com:80...
Found 1 possible subdomain(s) for host spentera.com, Searched 0 pages containing 0 results

Gathered TCP Port information for 74.81.66.104
---------------------------------

Port State


Portscan Finished: Scanned 150 ports, 0 ports were in state closed


All scans completed, exiting


#Network Mapping

nmap

root@bt:~# nmap 74.81.66.104

Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-26 05:11 WIT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.23 seconds





II. is2c-dojo.net

#DNS Information

dnsmap

root@bt:/pentest/enumeration/dns/dnsmap# ./dnsmap is2c-dojo.net
dnsmap 0.30 - DNS Network Mapper by pagvac (gnucitizen.org)

[+] searching (sub)domains for is2c-dojo.net using built-in wordlist
[+] using maximum random delay of 10 millisecond(s) between requests

www.is2c-dojo.net
IP address #1: 72.14.203.121

[+] 1 (sub)domains and 1 IP address(es) found
[+] completion time: 1094 second(s)


#Route Information

dmitry

root@bt:~# dmitry -wnspb is2c-dojo.net
Deepmagic Information Gathering Tool
"There be some deep magic going on"

HostIP:216.239.38.21
HostName:is2c-dojo.net

Gathered Inic-whois information for is2c-dojo.net
---------------------------------

Domain Name: IS2C-DOJO.NET
Registrar: CV. JOGJACAMP
Whois Server: whois.resellercamp.com
Referral URL: http://www.resellercamp.com
Name Server: PARTNERIT1.EARTH.ORDERBOX-DNS.COM
Name Server: PARTNERIT1.MARS.ORDERBOX-DNS.COM
Name Server: PARTNERIT1.MERCURY.ORDERBOX-DNS.COM
Name Server: PARTNERIT1.VENUS�.ORDERBOX-DNS.COM
Status: clientTransferProhibited
Updated Date: 22-dec-2011
Creation Date: 22-dec-2011
Expiration Date: 22-dec-2012

>>> Last update of whois database: Wed, 25 Jan 2012 22:21:22 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
sp�NonsioriYi� 徿ng me registra� agrment with the
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Sig�Nn for Yi� 徿ign") Whois dat�e isvided by Veri
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
vi�Na ee-maYi�徿il, tel�eph���one, solicitations
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
riS�Nign reYi��便serves �the��� right���ations. Ve
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and

Gathered Netcraft information for is2c-dojo.net
---------------------------------

Retrieving Netcraft.com information for is2c-dojo.net
Netcraft.com Information gathered

Gathered Subdomain information for is2c-dojo.net
---------------------------------
Searching Google.com:80...
HostName:www.is2c-dojo.net
HostIP:74.125.31.121
Searching Altavista.com:80...
Found 1 possible subdomain(s) for host is2c-dojo.net, Searched 0 pages containing 0 results

Gathered TCP Port information for 216.239.38.21
---------------------------------

Port State

80/tcp open

Portscan Finished: Scanned 150 ports, 1 ports were in state closed


All scans completed, exiting

#Network Mapping

nmap

root@bt:~# nmap 72.14.203.121

Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-26 05:31 WIT
Nmap scan report for 72.14.203.121
Host is up (0.083s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp open http
113/tcp closed ident

Nmap done: 1 IP address (1 host up) scanned in 170.31 seconds






III. is2c-dojo.com

#Route Information

dmitry

root@bt:~# dmitry -wnspb is2c-dojo.com
Deepmagic Information Gathering Tool
"There be some deep magic going on"

HostIP:67.222.154.106
HostName:is2c-dojo.com

Gathered Inic-whois information for is2c-dojo.com
---------------------------------

Domain Name: IS2C-DOJO.COM
Registrar: CV. JOGJACAMP
Whois Server: whois.resellercamp.com
Referral URL: http://www.resellercamp.com
Name Server: NS1.PARTNERIT.US
Name Server: NS2.PARTNERIT.US
Status: clientTransferProhibited
Updated Date: 14-jan-2012
Creation Date: 14-jan-2012
Expiration Date: 14-jan-2013

>>> Last update of whois database: Wed, 25 Jan 2012 22:14:18 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
or �Nthis r�{�@ˍ�egistra�tio���n.e of expiration f

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
. V�NeriSig�{�@ˍ�n does �not��� �gistration record
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
Th�Ne comp�{�@ˍ�ilation�, its c�omputer systems).
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
ter�Nminate�{�[ʍ� your a�cce���ss to ��heAʍ� t or
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and

Gathered Netcraft information for is2c-dojo.com
---------------------------------

Retrieving Netcraft.com information for is2c-dojo.com
Netcraft.com Information gathered

Gathered Subdomain information for is2c-dojo.com
---------------------------------
Searching Google.com:80...
Searching Altavista.com:80...
Found 0 possible subdomain(s) for host is2c-dojo.com, Searched 0 pages containing 0 results

Gathered TCP Port information for 67.222.154.106
---------------------------------

Port State


Portscan Finished: Scanned 150 ports, 0 ports were in state closed


All scans completed, exiting

#Network Mapping

nmap

root@bt:~# nmap 67.222.154.106

Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-26 05:37 WIT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.20 seconds

Information Gathering (review)

Autoscan

Screenshoot Result













Firewall detected
-0A:00:27:00:00:00
-192.168.56.101

Server detected
- 192.168.0.40
- 192.168.0.21

Information Gathering for Server/192.168.0.21
Hostname : UbuntuVM
OS : Debian/GNU  Unix (Samba 3.0.26a)
Mac Address : 08:00:27:F9:C1:BB (cadmus computer system)
System Group : Linux-Kernel 2.4-2.6
Domain name: nsdlab
FQDN: ubuntuvm.NSDLAB
TCP port :Open (5/72) Firewalled (0/72)
TCP port (open) : 22-80-139-445-10000-0-0-0-0-0-...
TCP port (close) : 10-13-21-23-25-53-66-67-88-110-...
UDP port (open|filtered) : 68-0-0-0-0-0-0-0-0-...
Domain/Wokgroup : MSHOME


(screenshoot with zenmap)













Host Detail
Host Status : Up
Open Ports : 5
Close Ports: 995
Scanned ports : 1000
Last boot : Wed Jan 25 18:14:41 20112

cek 192.168.0.21 with browser

Slack Space

Slack space is a form of internal fragmentation, i.e. wasted space, on a hard disk. When a file is written to disk it’s stored at the “begin...