En-Open-Source Security Testing Methodology Manual
En-Open-Source Security Testing Methodology Manual
RA
cycl
deg
10
RA
var
days
The RAV is determined, as per current algorythm, is to be the division of the degradation by the cycle.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 17
open source security testing methodology manual 26 February 2002
Section 1 Internet Security
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 18
open source security testing methodology manual 26 February 2002
Internet Presence Points
Security testing is a strategic effort. While there may be different ways and different tools to test many of the
same modules, there are few variations in the order in which to test them.
Internet presence points are every point in the Internet where an organization interacts with the Internet. These
presence points are developed to offer as modules in the methodology flow. Some of these modules are:
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 19
open source security testing methodology manual 26 February 2002
Network Surveying
tools
Internet Security 30 days 3%
A network survey serves often as an introduction to the systems to be tested. It is best defined as a combination of
data collection, information gathering, and policy control. Although it is often advisable from a legal standpoint to
define contractually exactly which systems to test if you are a third-party auditor or even if you are the system
administrator, you may not be able to start with concrete system names or IP addresses. In this case you must
survey and analyze. The point of this exercise is to find the number of reachable systems to be tested without
exceeding the legal limits of what you may test. Therefore the network survey is just one way to begin a test;
another way is to be given the IP range to test. In this module, no intrusion is being performed directly on the
systems except in places considered a quasi-public domain.
In legal terms, the quasi-public domain is a store that invites you in to make purchases. The store can control your
access and can deny certain individuals entry but for the most part is open to the general public (even if it
monitors them). This is the parallel to an e-business or web site.
Although not truly a module in the methodology, the network survey is a starting point. Often times, more hosts
are detected during actual testing. Please bear in mind that the hosts discovered later may be inserted in the
testing as a subset of the defined testing and often times only with permission or collaboration with the target
organization's internal security team.
Expected Results: Domain Names
Server Names
IP Addresses
Network Map
ISP / ASP information
System and Service Owners
Possible test limitations
Tasks to perform for a thorough network survey include:
N a m e s e r v e r r e s p o n s e s .
Examine Domain registry information for servers.
Find IP block owned.
Question the primary, secondary, and ISP name servers for hosts and sub domains.
E x a m i n e t h e o u t e r w a l l o f t h e n e t w o r k .
Use multiple traces to the gateway to define the outer network layer and routers.
E x a m i n e t r a c k s f r o m t h e t a r g e t o r g a n i z a t i o n .
Search web logs and intrusion logs for system trails from the target network.
Search board and newsgroup postings for server trails back to the target network.
I n f o r m a t i o n L e a k s
Examine target web server source code and scripts for application servers and internal links.
Examine e-mail headers, bounced mails, and read receipts for the server trails.
Search newsgroups for posted information from the target.
Search job databases and newspapers for IT positions within the organization relating to hardware and
software.
Search P2P services for connections into the target network and data concerning the organization.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 20
open source security testing methodology manual 26 February 2002
Port Scanning
tools
Internet Security 7 days 1.7%
Port scanning is the invasive probing of system ports on the transport and network level. Included here is also the
validation of system reception to tunneled, encapsulated, or routing protocols. This module is to enumerate live or
accessible Internet services as well as penetrating the firewall to find additional live systems. The small sample of
protocols here is for clarity of definition. Many protocols are not listed here. Testing for different protocols will
depend on the system type and services it offers. For a more complete list of protocols, see Appendix F.
Each Internet enabled system has 65,536 TCP and UDP possible ports. However, it is not always necessary to test
every port for every system. This is left to the discretion of the test team. Port numbers that are important for
testing according to the service are listed with the task. Additional port numbers for scanning should be taken
from the Consensus Intrusion Database Project Site.
Expected Results: Open, closed or filtered ports
IP addresses of live systems
Internal system network addressing
List of discovered tunneled and encapsulated protocols
List of discovered routing protocols supported
Active services
Network Map
Tasks to perform for a thorough Port Scan:
E r r o r C h e c k i n g
Check the route to the target network for packet loss
Measure the rate of packet round-trip time
Measure the rate of packet acceptance and response on the target network
Measure the amount of packet loss or connection denials at the target network
E n u m e r a t e S y s t e m s
Collect broadcast responses from the network
Probe past the firewall with strategically set packet TTLs (Firewalking) for all IP addresses.
Use ICMP and reverse name lookups to determine the existence of all the machines in a network.
Use a TCP source port 80 and ACK on ports 3100-3150, 10001-10050, 33500-33550, and 50 random ports
above 35000 for all hosts in the network.
Use TCP fragments in reverse order with FIN, NULL, and XMAS scans on ports 21, 22, 25, 80, and 443 for all
hosts in the network.
Use a TCP SYN on ports 21, 22, 25, 80, and 443 for all hosts in the network.
Use DNS connect attempts on all hosts in the network.
Use FTP and Proxies to bounce scans to the inside of the DMZ for ports 22, 81, 111, 132, 137, and 161 for all
hosts on the network.
E n u m e r a t i n g P o r t s
Use TCP SYN (Half-Open) scans to enumerate ports as being open, closed, or filtered on the default TCP
testing ports in Appendix B for all the hosts in the network.
Use TCP fragments in reverse order to enumerate ports and services for the subset of ports on the default
Packet Fragment testing ports in Appendix B for all hosts in the network.
Use UDP scans to enumerate ports as being open or closed on the default UDP testing ports in Appendix B if
UDP is NOT being filtered already. [Recommended: first test the packet filtering with a very small subset of
UDP ports.]
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 21
open source security testing methodology manual 26 February 2002
V e r i f y i n g V a r i o u s P r o t o c o l R e s p o n s e
Verify and examine the use of traffic and routing protocols.
Verify and examine the use of non-standard protocols.
Verify and examine the use of encrypted protocols.
V e r i f y i n g P a c k e t L e v e l R e s p o n s e
Identify TCP sequence predictability.
Identify TCP ISN sequence numbers predictability.
Identify IPID Sequence Generation predicatbility.
Identify system up-time.
Services Identification
tools
Internet Security 19 days 3.9%
This is the active examination of the application listening behind the service. In certain cases more than one
application exists behind a service where one application is the listener and the others are considered components
of the listening application. A good example of this is PERL installed for use in a Web application. In that case
the listening service is the HTTP daemon and the component is PERL.
Expected Results: Service Types
Service Application Type and Patch Level
Network Map
Tasks to perform for a thorough service probe:
Match each open port to a service and protocol.
Identify server uptime to latest patch releases.
Identify the application behind the service and the patch level using banners or fingerprinting.
Verify the application to the system and the version.
Locate and identify service remapping or system redirects.
Identify the components of the listening service.
Use UDP-based service and trojan requests to all the systems in the network.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 22
open source security testing methodology manual 26 February 2002
System Identification
tools
Internet Security 54 days 2.15%
System fingerprinting is the active probing of a system for responses that can distinguish unique systems to
operating system and version level.
Expected Results:
OS Type
Patch Level
System Type
System enumeration
Internal system network addressing
Tasks to perform for a thorough System Identification:
Examine system responses to determine operating system type and patch level.
Examine application responses to determine operating system type and patch level.
Verify the TCP sequence number prediction for each live host on the network.
Search job postings for server and application information from the target.
Search tech bulletin boards and newsgroups for server and application information from the target.
Match information gathered to system responses for more accurate results.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 23
open source security testing methodology manual 26 February 2002
Vulnerability Research and Verification
tools
Internet Security 3 days 3.6%
The focus of this module is in the identification, understanding, and verification of weaknesses, misconfigurations
and vulnerabilities within a host or network.
Research involved in finding vulnerabilities is necessary up until the delivery of the report. This involves
searching online databases and mailing lists specific to the systems and network being tested. Do not confine
yourself to the web-- consider using IRC, Newsgroups, and underground FTP sites.
Testing for vulnerabilities using automated tools is an efficient way to determine existing holes and system patch
level. Although many automated scanners are currently on the market and in the underground, it is important for
the tester to identify and incorporate the current underground scripts/exploits into this testing. However, manual
verification is necessary for eliminating false positives, expanding the hacking scope, and discovering the data flow
in and out of the network. Manual testing refers to a person or persons at the computer using creativity,
experience, and ingenuity to test the target network.
Expected Results: Type of application or service by vulnerability
Patch levels of systems and applications
List of possible denial of service vulnerabilities
List of areas secured by obscurity or visible access
List of actual vulnerabilities minus false positives
List of Internal or DMZ systems
List of mail, server, and other naming conventions
Network map
Tasks to perform for thorough Vulnerability Research and Verification:
Integrate the currently popular scanners, hacking tools, and exploits into the tests.
Measure the target organization against the currently popular scanning tools.
Attempt to determine vulnerability by system and application type.
Attempt to match vulnerabilities to services.
Attempt to determine application type and service by vulnerability.
Perform redundant testing with at least 2 automated vulnerability scanners.
Identify all vulnerabilities according to applications.
Identify all vulnerabilities according to operating systems.
Identify all vulnerabilities from similar or like systems that may also affect the target systems.
Verify all vulnerabilities found during the exploit research phase for false positives and false negatives.
Verify all positives (be aware of your contract if you are attempting to intrude or might cause a denial of
service).
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 24
open source security testing methodology manual 26 February 2002
Internet Application Testing
tools
Internet Security 67 days 5.8%
An Internet application test employs different software testing techniques to find "security bugs" in server/client
applications of the system from the Internet. In this module, we refer the server/client applications to those
proprietarily developed by the system owners serving dedicate business purposes and the applications can be
developed with any programming languages and technologies. E.g. web application for business transactions is a
target in this module. "Black box" and/or "White box" testing can be used in this module.
Expected Results: List of applications
List of application components
List of application vulnerabilities
List of application system trusts
Tasks to perform for a thorough Internet Application test:
R e - E n g i n e e r i n g
Decompose or deconstruct the binary codes, if accessible.
Determines the protocol specification of the server/client application.
Guess program logic from the error/debug messages in the application outputs and program
behaviors/performance.
A u t h e n t i c a t i o n
Find possible brute force password guessing access points in the applications.
Find a valid login credentials with password grinding, if possible.
Bypass authentication system with spoofed tokens.
Bypass authentication system with replay authentication information.
Determine the application logic to maintain the authentication sessions - number of (consecutive) failure
logins allowed, login timeout, etc.
Determine the limitations of access control in the applications - access permissions, login session duration, idle
duration.
S e s s i o n M a n a g e m e n t
Determine the session management information - number of concurrent sessions, IP-based authentication,
role-based authentication, identity-based authentication, cookie usage, session ID in URL encoding string,
session ID in hidden HTML field variables, etc.
Guess the session ID sequence and format
Determine the session ID is maintained with IP address information; check if the same session information
can be retried and reused in another machine.
Determine the session management limitations - bandwidth usages, file download/upload limitations,
transaction limitations, etc.
Gather excessive information with direct URL, direct instruction, action sequence jumping and/or pages
skipping.
Gather sensitive information with Man-In-the-Middle attacks.
Inject excess/bogus information with Session-Hijacking techniques.
Replay gathered information to fool the applications.
I n p u t M a n i p u l a t i o n
Find the limitations of the defined variables and protocol payload - data length, data type, construct format,
etc.
Use exceptionally long character-strings to find buffer overflows vulnerability in the applications.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 25
open source security testing methodology manual 26 February 2002
Concatenate commands in the input strings of the applications.
Inject SQL language in the input strings of database-tired web applications.
Examine "Cross-Site Scripting" in the web applications of the system.
Examine unauthorized directory/file access with path/directory traversal in the input strings of the
applications.
Use specific URL-encoded strings and/or Unicode-encoded strings to bypass input validation mechanisms of
the applications.
Execute remote commands through "Server Side Include".
Manipulate the session/persistent cookies to fool or modify the logic in the server-side web applications.
Manipulate the (hidden) field variable in the HTML forms to fool or modify the logic in the server-side web
applications.
Manipulate the "Referer", "Host", etc. HTTP Protocol variables to fool or modify the logic in the server-side
web applications.
Use illogical/illegal input to test the application error-handling routines and to find useful debug/error
messages from the applications.
O u t p u t M a n i p u l a t i o n
Retrieve valuable information stored in the cookies
Retrieve valuable information from the client application cache.
Retrieve valuable information stored in the serialized objects.
Retrieve valuable information stored in the temporary files and objects.
I n f o r m a t i o n L e a k a g e
Find useful information in hidden field variables of the HTML forms and comments in the HTML documents.
Examine the information contained in the application banners, usage instructions, welcome messages, farewell
messages, application help messages, debug/error messages, etc.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 26
open source security testing methodology manual 26 February 2002
Router Testing
tools
Internet Security 34 days 3.2%
The Screening Router is a defence often found on a network that restricts the flow of traffic between the
enterprise network and the Internet. It operates on a security policy and uses ACLs (Access Control Lists) to
accept or deny packets. This module is designed to assure that only that which should be expressly permitted be
allowed into the network; all else should be denied. The screen may also be designed to restrict the outflow of
certain types of traffic as well. Routers are becoming more and more complex and some may have features
unknown to the tester and often the target organization. The testers role is in part to determine the role of the
router in the DMZ.
Expected Results: Router type and features implemented
Information on the router as a service and a system
Outline of the network security policy by the ACL
List of the types of packets which may enter the network
Map of router responses to various traffic types
List of live systems found
Tasks to perform for a thorough router ACL Test:
R o u t e r a n d f e a t u r e i d e n t i f i c a t i o n
Verify the router type with information collected from intelligence gathering.
Verify if the router is providing network address translation (NAT)
Verify the penetrations from strategically determined packet TTL settings (Firewalking) completed in the Port
Scanning module.
V e r i f y i n g r o u t e r A C L c o n f i g u r a t i o n
Test the ACL against the written security policy or against the "Deny All" rule.
Verify that the router is egress filtering local network traffic
Verify that the router is performing address spoof detection
Verify the penetrations from inverse scanning completed in the Port Scanning module.
Test the router outbound capabilities from the inside.
Measure the ability of the router to handle very small packet fragments
Measure the ability of the router to handle over-sized packets
Measure the ability of the router to handle overlapped fragments such as that used in the TEARDROP attack
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 27
open source security testing methodology manual 26 February 2002
Trusted Systems Testing
tools
42 days 4.1%
The purpose of testing system trusts is to affect the Internet presence by posing as a trusted entity of the network.
The testing scenario is often more theory than fact and does more than blur the line between vulnerability testing
and Firewall/ACL testing-- it is the line.
Expected Results: Map of systems dependent upon other systems
Map of applications with dependencies to other systems
Types of vulnerabilities which affect the trusting systems and applications
Tasks to perform for a thorough Trusted Systems test:
Verify possible relationships determined from intelligence gathering, application testing, and services testing.
Test the relationships between various systems through spoofing or event triggering.
Verify which systems can be spoofed.
Verify which applications can be spoofed.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 28
open source security testing methodology manual 26 February 2002
Firewall Testing
tools
Internet Security 34 days 2.9%
The firewall controls the flow of traffic between the enterprise network, the DMZ, and the Internet. It operates
on a security policy and uses ACLs (Access Control Lists). This module is designed to assure that only that which
should be expressly permitted be allowed into the network; all else should be denied. Additionlly, the tester is to
understand the configuration of the firewall and the mapping it provides through to the servers and services
behind it.
Reviewing the server logs is needed to verify the tests performed on the Internet presence especially in cases
where results of the tests are not immediately visible to the tester. Many unknowns are left to the analyst who has
not reviewed the logs.
Expected Results: Information on the firewall as a service and a system
Information on the features implemented on the firewall
Outline of the network security policy by the ACL
List of the types of packets which may enter the network
List of the types of protocols with access inside the network
List of live systems found
List of packets which entered the network by port number
List of protocols which entered the network
List of unmonitored paths into the network
Tasks to perform for a thorough router ACL Test:
F i r e w a l l a n d f e a t u r e s i d e n t i f i c a t i o n
Verify the router type with information collected from intelligence gathering.
Verify if the router is providing network address translation (NAT)
Verify the penetrations from strategically determined packet TTL settings (Firewalking) completed in the Port
Scanning module.
V e r i f y i n g f i r e w a l l A C L c o n f i g u r a t i o n
Test the ACL against the written security policy or against the "Deny All" rule.
Verify that the firewall is egress filtering local network traffic
Verify that the firewall is performing address spoof detection
Verify the penetrations from inverse scanning completed in the Port Scanning module.
Test the firewall outbound capabilities from the inside.
Determine the success of various packet response fingerprinting methods through the firewall
Verify the viability of SYN stealth scanning through the firewall for enumeration
Measure the use of scanning with specific source ports through the firewall for enumeration
Measure the ability of the firewall to handle overlapped fragments such as that used in the TEARDROP attack
Measure the ability of the firewall to handle tiny fragmented packets
Test the firewalls ability to manage an ongoing series of SYN packets coming in (flooding).
Test the firewalls response to packets with the RST flag set.
Test the firewalls management of standard UDP packets.
Verify the firewalls ability to screen enumeration techniques using ACK packets.
Verify the firewalls ability to screen enumeration techniques using FIN packets.
Verify the firewalls ability to screen enumeration techniques using NULL packets.
Verify the firewalls ability to screen enumeration techniques measuring the packet window size (WIN).
Verify the firewalls ability to screen enumeration techniques using all flags set (XMAS).
Verify the firewalls ability to screen enumeration techniques using IPIDs.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 29
open source security testing methodology manual 26 February 2002
Verify the firewalls ability to screen enumeration techniques using encapsulated protocols.
Measure the robustness of firewall and its susceptibility to denial of service attacks with sustained TCP
connections.
Measure the robustness of firewall and its susceptibility to denial of service attacks with temporal TCP
connections.
Measure the robustness of firewall and its susceptibility to denial of service attacks with streaming UDP.
Measure the firewalls response to all types of ICMP packets.
R e v i e w i n g f i r e w a l l l o g s
Test the firewall logging process.
Verify TCP and UDP scanning to server logs.
Verify automated vulnerability scans.
Verify services logging deficiencies.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 30
open source security testing methodology manual 26 February 2002
Intrusion Detection System Testing
tools
Internet Security 25 days 2.3%
This test is focused on the performance and sensitivity of an IDS. Much of this testing cannot be properly
achieved without access to the IDS logs. Some of these tests are also subject to attacker bandwidth, hop distance,
and latency that will affect the outcome of these tests.
Reviewing the server logs is needed to verify the tests performed on the Internet presence especially in cases
where results of the tests are not immediately visible to the tester. Many unknowns are left to the analyst who has
not reviewed the logs and alerts.
Expected Results: Type of IDS
Note of IDS performance under heavy load
Type of packets dropped or not scanned by the IDS
Type of protocols dropped or not scanned by the IDS
Note of reaction time and type of the IDS
Note of IDS sensitivity
Rule map of IDS
List of IDS false positives
List of IDS missed alarms
List of unmonitored paths into the network
Tasks to perform for a thorough IDS Test:
I D S a n d f e a t u r e s i d e n t i f i c a t i o n
Verify the IDS type with information collected from intelligence gathering.
Determine its sphere of protection or influence.
Test the IDS for alarm states.
Test the signature sensitivity settings over 1 minute, 5 minutes, 60 minutes, and 24 hours.
T e s t i n g I D S c o n f i g u r a t i o n
Test the IDS for configured reactions to multiple, varied attacks (flood and swarm).
Test the IDS for configured reactions to obfuscated URLs and obfuscated exploit payloads.
Test the IDS for configured reactions to speed adjustments in packet sending.
Test the IDS for configured reactions to random speed adjustments during an attack.
Test the IDS for configured reactions to random protocol adjustments during an attack.
Test the IDS for configured reactions to random source adjustments during an attack.
Test the IDS for configured reactions to source port adjustments.
Test the IDS for the ability to handle fragmented packets.
Test the IDS for the ability to handle specific system method attacks.
Test the effect and reactions of the IDS against a single IP address versus various addresses.
R e v i e w i n g I D S l o g s a n d a l e r t s
Match IDS alerts to vulnerability scans.
Match IDS alerts to password cracking.
Match IDS alerts to trusted system tests.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 31
open source security testing methodology manual 26 February 2002
Containment Measures Testing
tools
Internet Security 96 days 3.9%
The containment measures dictate the handling of traversable, malicious programs and eggressions. The
identification of the security mechanisms and the response policy need to be targetted. It may be necessary to
request first a new test mail account or desktop system that the administrator can monitor.
Expected Results: Define Anti-Trojan Capabilities
Define Anti-Virus Capabilities
Identify Desktop Containment Measures
Identify Desktop Containment Weaknesses
List containment resources
Tasks to perform for a thorough CM test:
Measure the minimum resources that need to be available to this subsystem in order for it to perform its task.
Verify the resources available to this subsystem that it does not need to perform its tasks, and what resources
are shielded from use by this subsystem.
Verify the detection measures present for the detection of attempted access to the shielded resources.
Verify unneeded resources
Verify the features of the containment system.
Verify detection measures are present for detection of 'unusual' access to the 'needed' resources
o Measure the response and process against the sap 27
o Measure the configuration of the system.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 32
open source security testing methodology manual 26 February 2002
Password Cracking
tools
Internet Security 21 days 7.8%
Password cracking is the process of validating password strength through the use of automated password recovery
tools that expose either the application of weak cryptographic algorithms, incorrect implementation of
cryptographic algorithms, or weak passwords due to human factors. This module should not be confused with
password recovery via sniffing clear text channels, which may be a more simple means of subverting system
security, but only due to unencrypted authentication mechanisms, not password weakness itself. [Note: This
module could include manual password guessing techniques, which exploits default username and password
combinations in applications or operating systems (e.g. Username: System Password: Test), or easy-to-guess
passwords resulting from user error (e.g. Username: joe Password: joe). This may be a means of obtaining access to
a system initially, perhaps even administrator or root access, but only due to educated guessing. Beyond manual
password guessing with simple or default combinations, brute forcing passwords for such applications as Telnet,
using scripts or custom programs, is almost not feasible due to prompt timeout values, even with multi-connection
(i.e. simulated threading) brute force applications.]
Once gaining administrator or root privileges on a computer system, password cracking may assist in obtaining
access to additional systems or applications (thanks to users with matching passwords on multiple systems) and is a
valid technique that can be used for system leverage throughout a security test. Thorough or corporate-wide
password cracking can also be performed as a simple after-action exercise and may highlight the need for stronger
encryption algorithms for key systems storing passwords, as well as highlight a need for enforcing the use of
stronger user passwords through stricter policy, automatic generation, or pluggable authentication modules
(PAMs).
Expected Results: Password file cracked or uncracked
List of login IDs with user or system passwords
List of systems vulnerable to crack attacks
List of documents or files vulnerable to crack attacks
List of systems with user or system login IDs using the same passwords
Tasks to perform for a thorough Password Cracking verification:
Obtain the password file from the system that stores usernames and passwords
o For Unix systems, this will be either /etc/passwd or /etc/shadow
o For Unix systems that happen to perform SMB authentication, you can find NT passwords in
/etc/smbpasswd
o For NT systems, this will be /winnt/repair/Sam._ (or other, more difficult to obtain variants)
Run an automated dictionary attack on the password file
Run a brute force attack on the password file as time and processing cycles allow
Use obtained passwords or their variations to access additional systems or applications
Run automated password crackers on encrypted files that are encountered (such as PDFs or Word documents)
in an attempt to gather more intelligence and highlight the need for stronger document or file system
encryption.
Verify password aging.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 33
open source security testing methodology manual 26 February 2002
Denial of Service Testing
tools
Internet Security 4 days 5.4%
Denial of Service (DoS) is a situation where a circumstance, either intentionally or accidentally, prevents the
system from functioning as intended. In certain cases, the system may be functioning exactly as designed however
it was never intended to handle the load, scope, or parameters being imposed upon it.
It is very important that DoS testing receives additional support from the organization and is closely monitored.
Flood and Distributed (DDoS) attacks are specifically not tested and forbidden to be tested as per this manual.
Well resourced floods and DDoS attacks will ALWAYS cause certain problems and often not just to the target but
also to all routers and systems between the tester and the target.
Expected Results: List weak points in the Internet presence including single points of failure
Establish a baseline for normal use
List system behaviors to heavy use
List DoS vulnerable systems
Tasks to perform for a thorough DoS test:
Verify that administrative accounts and system files and resources are secured properly and all access is
granted with "Least Privilege".
Check the exposure restrictions of systems to non-trusted networks
Verify that baselines are established for normal system activity
Verify what procedures are in place to respond to irregular activity.
Verify the response to SIMULATED negative information (propaganda) attacks.
Test heavy server and network loads.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 34
open source security testing methodology manual 26 February 2002
Section 2 Information Security
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 35
open source security testing methodology manual 26 February 2002
Competitive Intelligence Scouting
tools
Information Security 17 days 7.3%
CI Scouting is the scavenged information from an Internet presence that can be analysed as business intelligence.
Different than the straight-out intellectual property theft found in industrial espionage or hacking, CI lends to be
non-invasive and much more subtle. It is a good example of how the Internet presence extends far beyond the
hosts in the DMZ. Using CI in a penetration test gives business value to the components and can help in finding
business justifications for implementing various services.
Expected Results: A measurement of the organization's network business justifications
Size and scope of the Internet presence
A measurement of the security policy to future network plans
Tasks to perform for a thorough Competitive Intelligence Scouting:
Map and measure the directory structure of the web servers
Map the measure the directory structure of the FTP servers
Examine the WHOIS database for business services relating to registered host names
Determine the IT cost of the Internet infrastructure based on OS, Applications, and Hardware.
Determine the cost of support infrastructure based on regional salary requirements for IT professionals, job
postings, number of personnel, published resumes, and responsibilities.
Measure the buzz (feedback) of the organization based on newsgroups, web boards, and industry feedback sites
Record the number of products being sold electronically (for download)
Record the number of products found in P2P sources, wares sites, available cracks up to specific versions, and
documentation both internal and third party about the products
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 36
open source security testing methodology manual 26 February 2002
Privacy Review
tools
Information Security 96 days 2.9%
The privacy review is the focal point of the legal and ethical storage, transmission, and control of data based on
employee and customer privacy. The use of this data is a concern to many private persons and legislation is
unveiling specific rules regarding privacy. Although some of these laws are local, all of them apply to the Internet
and therefore affect security testers internationally.
Expected Results: List any disclosures
List compliance failures between public policy and actual practice
List systems involved in data gathering
List data gathering techniques
List data gathered
Tasks to perform for a thorough Privacy Policy review:
Compare publicly accessible policy to actual practice
Compare actual practice to regional fraud and privacy laws or compliancy
Identify database type and size for storing data
Identify data collected by the organization
Identify storage location of data
Identify cookie types
Identify cookie expiration times
Identify information stored in cookie
Verify cookie encryption methods
Identify server location of web bug(s)
Identify web bug data gathered and returned to server
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 37
open source security testing methodology manual 26 February 2002
Document Grinding
tools
Information Security 96 days 8.7%
The module here is important in the verification of much of the tested information and pertains to many levels of
what is considered information security. The amount of time granted to the researching and extraction of
information is dependent upon the size of the organisation, the scope of the project, and the length of time
planned for the testing. More time however, does not always mean more information but it can eventually lead to
key pieces of the security puzzle.
Expected Results: A profile of the organization
A profile of the employees
A profile of the organization's network
A profile of the organizations technologies
A profile of the organizations partners, alliances, and strategies
Tasks to perform for a thorough Document Grind:
Examine web databases and caches concerning the target organization and key people.
Investigate key persons via personal homepages, published resumes, organizational affiliations, directory
enquiries, companies house data, and electoral register.
Compile e-mail addresses from within the organization and personal e-mail addresses from key people.
Search job databases for skill sets technology hires need to possess in the target organization.
Search newsgroups for references to and submissions from within the organization and key people.
Search documents for hidden codes or revision data.
Examine P2P networks for references to and submissions from within the organization and key people.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 38
open source security testing methodology manual 26 February 2002
Section 3 Social Engineering
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 39
open source security testing methodology manual 26 February 2002
Request Testing
tools
Social Engineering 96 days 2.9%
This is a method of gaining access priviledges to an organization and its assets by querying gateway personnel over
communications medium such as telephone, e-mail, chat, bulletin boards, etc. from a fraudulent priviledged
position. Gateway personnel are those who themselves have the authority to grant access priviledges to others.
Expected Results: List of access code methods
List of valid codes
Names of gateway persons
Methods of obtaining this information
List of information obtained
Tasks to perform for a thorough Request test:
Select a gateway person from information already gained about personnel
Examine the contact methods for gateway person from the target organisation
Gather information about gateway person (position, habits, preferences)
Contact gateway person and request information from an authority or priviledged position
Gather information from gateway person
Enumerate amount of priviledged information disclosed.
Guided Suggestion Testing
tools
Social Engineering 46 days 8.9%
This is a method of enumeration and priviledged access points enumeration to an organization and its assets by
inviting internal personnel over communications medium such as telephone, e-mail, chat, bulletin boards, etc. to
an outside location from a fraudulent priviledged position. This invitation technique requires a location for the
person to be invited to such as a web page, e-mail account,
Expected Results: List of access points
List of internal IP addresses
Methods of obtaining this information
List of information obtained
Tasks to perform for a thorough Guided Suggestion test:
Select a person or persons from information already gained about personnel
Examine the contact methods for the people from the target organisation
Invite the people to use / visit the location
Gather information from the visitors
Enumerate the type and amount of priviledged information disclosed.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 40
open source security testing methodology manual 26 February 2002
Trusted Persons Testing
tools
Social Engineering 96 days 6.2%
This is a method of using a trusted position of such as that of an employee, vendor, partner, or daughter company
employee to subvert the internal person into disclosing information concerning the target organization. This
module may be performed through any communication means or in person.
Expected Results: List of trusted persons
List of trusted positions
Methods of obtaining this information
List of information obtained
Tasks to perform for a thorough Trusted Persons test:
Select a person or persons from information already gained about personnel
Examine the contact methods for the people from the target organisation
Contact the internal person from a position of trust
Gather information from the internal person
Enumerate the type and amount of priviledged information disclosed.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 41
open source security testing methodology manual 26 February 2002
Section 4 Wireless Security
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 42
open source security testing methodology manual 26 February 2002
Wireless Networks Testing
tools
Wireless Security 28 days 1.3%
This is a method for testing wireless access to LAN and is becoming increasingly popular. However, some fairly
alarming problems, security-wise, are common when implementing these technologies.
Expected Results: The outer-most physical edge of the wireless network
The logical boundaries of the wireless network
Access points into the network
IP-range (and possibly DHCP-server) of the wireless network
Exploitable "mobile units" (clients)
Tasks to perform for a thorough Wireless Networks test:
Verify the distance in which the wireless communication extends beyond the physical boundaries of the
organization.
List equipment needed/tried should be taken (antenna, card, amplifier, etc.)
Verify authentication-method of the clients
Verify that encrytion is configured and running - and what keylength used
Verify that clients can't be forced to fall-back to plaintext-mode
Verify the IP-range of the network
Verify the IP-range and reachable from the wireless network, and the protocols involved
Probe network for possible DoS problems
Cordless Communications Testing
tools
Wireless Security 60 days 2.8%
This is a method of testing cordless communications communication devices which may exceed the physical and
monitored boundaries of an organization.
Expected Results: The outer-most physical edge of the cordless communications
The logical boundaries of the cordless communications
List of communication types
List of frequencies emanating from the target
List of vulnerabilities in the cordless communication present
Tasks to perform for a thorough Cordless Communications test:
Verify the distance in which the cordless communication extends beyond the physical boundaries of the
organization.
Note equipment needed/tried should be taken (antenna, scanner, amplifier, etc.)
Verify authentication-method of the clients
Verify that encryption is used, configured, and type used
Verify that clients can't be forced to fall-back to non-encrypted mode
Probe network for possible DoS problems
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 43
open source security testing methodology manual 26 February 2002
Privacy Review
tools
Wireless Security 70 days 2.1%
The privacy of cordless communication devices may exceed the physical and monitored boundaries of an
organization. The privacy review is the focal point of the legal and ethical storage, transmission, and control of
data based on employee and customer privacy. The use of this data is a concern to many private persons and
legislation is unveiling specific rules regarding privacy. Although some of these laws are local, all of them apply to
the Internet and therefore affect security testers internationally.
Expected Results: List any disclosures
List compliance failures between public policy and actual practice
List wireless communication involved in data gathering
List data gathering techniques
List data gathered
Tasks to perform for a thorough Privacy Review:
Verify authentication-method of the clients
Verify that encryption is used is configured and type used
Verify that clients can't be forced to fall-back to none-encrypted mode
Compare publicly accessible policy to actual practice
Compare actual practice to regional fraud and privacy laws or compliancy
Identify database type and size for storing data
Identify data collected by the organization
Identify storage location of data
Identify data expiration times
Infrared Systems Testing
tools
Wireless Security 120 days 0.6%
This is a method of testing infrared communications communication devices which may exceed the physical and
monitored boundaries of an organization.
Expected Results: The outer-most physical edge of the infrared communications
List of line-of-site areas into the target
The logical boundaries of infrared communications
List of communication types
List of systems and applications emanating from the target
Tasks to perform for a thorough Infrared Systems test:
Verify the distance in which the infrared communication extends beyond the physical boundaries of the
organization.
Note equipment needed/tried should be taken (antenna, scanner, amplifier, etc.)
Verify authentication-method of the clients
Verify that encryption is used, configured, and type used
Verify that clients can't be forced to fall-back to non-encrypted mode
Probe network for possible DoS problems
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 44
open source security testing methodology manual 26 February 2002
Section 5 Communications Security
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 45
open source security testing methodology manual 26 February 2002
PBX Testing
tools
Communications Security 180 days 2.9%
This is a method of gaining access priviledges to the telephone exchange of a target organization.
Expected Results: Find PBX Systems that are allowing remote administration
List systems allowing world access to the maintenance terminal
List all listening and interactive telephony systems.
Tasks to perform for a thorough PBX test:
Review call detail logs for signs of abuse.
Ensure administrative accounts don't have default, or easily guessed, passwords.
Verify that OS is up-to-date and patched.
Check for remote maintenance access to system.
Test dial-in authentications.
Verify remote dial-in authentication.
Voicemail Testing
tools
Communications Security 101 days 4.1%
This is a method of gaining access priviledges to the voicemail systems of the target organization and internal
personnel.
Expected Results: List of voice mailboxes that are world accessible
List of voicemail dial-in codes and PINs
Tasks to perform for a thorough Voicemail test:
Verify PIN size and frequency of change
Identify user and organizational information
Check for remote maintenance access to system.
Test dial-in authentications.
Verify remote dial-in authentication.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 46
open source security testing methodology manual 26 February 2002
FAX Review
tools
Communications Security 200 days 1.25%
This is a method of enumerating FAX machines and gaining access priviledges to the systems which may host
them.
Expected Results: List of FAX systems
List of FAX systems types and possible operating programs
Map of FAX usage protocol within the organization
Tasks to perform for a thorough FAX review:
Ensure administrative accounts don't have default, or easily guessed, passwords.
Make sure OS is up to date and patched.
Check for remote maintenance access to system.
Test dial-in authentications.
Verify remote dial-in authentication.
Modem Testing
tools
Communications Security 124 days 6.3%
This is a method of enumerating modems and gaining access priviledges to the modem-enabled systems of a target
organization.
Expected Results: List of systems with listening modems
List of modem types and operating programs
List of modem authentication schemes
List of modem logins and passwords
Map of modem usage protocol within the organization
Tasks to perform for a thorough Modem test:
Scan the exchange for modems
Ensure accounts don't have default, or easily guessed, passwords.
Make sure OS and modem application is up-to-date and patched.
Check for remote maintenance access to system.
Test dial-in authentications.
Verify remote dial-in authentication.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 47
open source security testing methodology manual 26 February 2002
Section 6 Physical Security
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 48
open source security testing methodology manual 26 February 2002
Access Controls Testing
tools
Physical Security 92 days 6.9%
This is a method of testing access priviledges to an organization and its assets through physical access points.
Expected Results: List of physical access points
Types of authentication
Types of alarm systems
List of alarm triggers
Tasks to perform for a thorough Access Controls test:
Enumerate access control areas
Examine access control devices and types
Examine alarm types
Determine the level of complexity in an access control device
Determine the level of privacy in an access control device
Test access control devices for vulnerabilites and weakneses
Test access control devices against Denial of Service
Perimeter Review
tools
Physical Security 12 days 2.45%
This is a method of gaining access priviledges to an organization and its assets by querying gateway personnel over
communications medium such as telephone, e-mail, chat, bulletin boards, etc. from a fraudulent priviledged
position. Gateway personnel are those who themselves have the authority to grant access priviledges to others.
Expected Results: List of physical access points
Types of monitoring
Types of alarm systems
List of alarm triggers
Tasks to perform for a thorough Perimiter review:
Enumerate monitoring devices
Map monitoring devices
Map guarded locations and routes traveled
Map unmonitored areas
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 49
open source security testing methodology manual 26 February 2002
Monitoring Review
tools
Physical Security 122 days 4.1%
This is a method of discovering monitored access points to an organization and its assets through discovery of
guard and electronic monitoring.
Expected Results: List of monitored access points
Types of monitoring
List of unmonitored standard and priviledged access points
List of alarm triggers
Tasks to perform for a thorough Monitoring review:
Enumerate monitoring devices
Map monitoring devices
Map guarded locations and routes traveled
Map unmonitored areas to monitored areas
Test monitoring devices for limitations and weaknesses
Test monitoring devices for denial of service attacks
Alarm Response Review
tools
Physical Security 96 days 8.25%
This is a method of discovering alarm procedure and equipment in an organization through discovery of guard and
electronic monitoring.
Expected Results: List of alarm types
List of alarm triggers
Map of alarm procedure
List of persons involved in alarm procedure
List of containment measures and safety precautions triggered by alarm
Tasks to perform for a thorough Alarm Response review:
Enumerate alarm devices
Map alarm trigger procedures
Map alarm activated security reflexes
Discover persons involved in an alarm procedure
Test alarm escalation
Test alarm enablement and disablement
Test alarm devices for limitations and weaknesses
Test alarm devices for denial of service attacks
Test alarm procedures for Denial of Service attacks
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 50
open source security testing methodology manual 26 February 2002
Location Review
tools
Physical Security 180 days 7.9%
This is a method of gaining access to an organization or its assets through weaknesses in its location and protection
from outside elements.
Expected Results: Map of physical locations of assets
List of physical location access points
List of vulnerable access points in location
Tasks to perform for a thorough Location review:
Enumerate visible areas into the organization (line of sight)
Enumerate audible areas into the organization (laser or electronic ear)
Test location areas for vulnerabilities and weaknesses to supply delivery
List supply delivery persons and organizations
List hours and days in delivery cycles
List hours and days in visitor cycles
Environment Review
tools
Physical Security 180 days 9.5%
This is a method of gaining access to or harming an organization or its assets through weaknesses in its
environment.
Expected Results: Map of physical locations of assets
List of access points
List of vulnerable access points
List of local laws, customs, and ethics
List of operational laws, customs, and ethics
Tasks to perform for a thorough Environment review:
Examine natural disaster conditions for the region
Examine political environmental conditions
Examine back-up and recovery procedures
Identify weaknesses and vulnerabilities in back-up and recovery procedures
Identify Denial of Service attacks in back-up and recovery procedures
Examine physical and electronic handicaps in various weather patterns
Compare operational procedures with regional laws, customs, and ethics
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 51
open source security testing methodology manual 26 February 2002
Report Requirements Templates
The following template is an small example of the report requirements as per what should be displayed in a report
to qualify for a certified OSSTMM compliancy stamp. Restrictions of applicability and scope apply.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 52
open source security testing methodology manual 26 February 2002
Network Profile Template
IP ranges to be tested and details of these ranges
Domain information and configurations
Zone Transfer Highlights
Server List
IP Address Domain Name(s) Operating System
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 53
open source security testing methodology manual 26 February 2002
Server Information Template
IP Address domain name
Port Protocol Service Service Details
Banner(s):
Port Protocol Banner
TCP Sequencing:
TCP Sequence Prediction
TCP ISN Seq. Numbers
IPID Sequence Generation
Uptime
Concerns and Vulnerabilities:
Concern or Vulnerability
Example
Solution
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 54
open source security testing methodology manual 26 February 2002
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 55
open source security testing methodology manual 26 February 2002
Firewall Analysis Template
fingerprinting
This test is to determine the success of various packet response fingerprinting methods through the firewall.
Method Result
stealth
This determines the viability of SYN stealth scanning through the firewall for enumeration.
Result
source port control
This test measures the use of scanning with specific source ports through the firewall for enumeration.
Protocol Source Result
UDP 53
UDP 161
TCP 53
TCP 69
overlap
This test measures the ability of the firewall to handle overlapped fragments such as that used in the TEARDROP
attack.
Protocol Result
fragments
This test measures the ability of the firewall to handle tiny fragmented packets.
IP Result
syn flood
This tests the firewalls ability to manage an ongoing series of SYN packets coming in.
IP Result
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 56
open source security testing methodology manual 26 February 2002
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 57
open source security testing methodology manual 26 February 2002
rst flag
This test exacts the firewalls response to packets with the RST flag set.
IP Result
udp
This tests the firewalls management of standard UDP packets.
IP Result
ack
This test is to discover the firewalls ability to screen enumeration techniques using ACK packets.
IP Result
fin
This test is to discover the firewalls ability to screen enumeration techniques using FIN packets.
IP Result
null
This test is to discover the firewalls ability to screen enumeration techniques using NULL packets.
IP Result
win
This test is to discover the firewalls ability to screen enumeration techniques using WIN packets.
IP Result
xmas
This test is to discover the firewalls ability to screen enumeration techniques using packets with all flags set.
IP Result
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 58
open source security testing methodology manual 26 February 2002
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 59
open source security testing methodology manual 26 February 2002
Advanced Firewall Testing Template
Sustained TCP Connections
This test is to measure the robustness of firewall and its susceptibility to denial of service attacks.
connection description max connects max idle time
Fleeting TCP Connections
This test is to measure the robustness of firewall and its susceptibility to denial of service attacks.
connection description max connects max idle time
Streaming UDP Throughput
This test is to measure the robustness of firewall and its susceptibility to denial of service attacks.
connection description max connects
ICMP Responses
This test is to measure the firewalls response to various types of ICMP packets.
type type description response RTT
Spoof Responses
This test is to measure the firewalls Access Control List rules by IP address.
connection response description from to
Protocol
This test is to discover the firewalls ability to screen packets of various protocols.
Protocol Result
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 60
open source security testing methodology manual 26 February 2002
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 61
open source security testing methodology manual 26 February 2002
IDS Test Template
IDS type
This test is to determine the IDS type and sphere of protection or influence.
IDS type protection range by IP
Flood Attack
This test is to measure the IDSs response capabilities in the event of many attacks of various priorities coming
through at once.
flood type description of attack duration result
Obfuscated URLs
This test addresses the IDSs ability to address disguised URLs for attacking webservers.
encoding type URL sent result
Speed Adjustments
This test measures the IDSs sensitivity to scans over definitive time periods.
packet description delay result
1 minute
5 minutes
60 minutes
24 hours
Behavior Attacks
This test measures the IDSs sensitivity to many scans of a random nature.
description result
random speed attack
random protocol attack
random source attack
Method Matching
This test measures the IDSs sensitivity to webserver scans of unknown methods.
result
HEAD
POST
PUT
DELETE
PATCH
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 62
open source security testing methodology manual 26 February 2002
PROPFIND
PROPPATCH
MKCOL
COPY
MOVE
LOCK
UNLOCK
Source Port Control
This test measures the use of scanning with specific source ports through the IDS without alarm.
Protocol Source Result
UDP 53
UDP 161
TCP 443
TCP 22
Spoof Responses
This test is to measure the firewalls Access Control List rules by IP address.
connection response description from to
Fragments
This test measures the ability of the IDS to handle tiny fragmented packets.
Result
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 63
open source security testing methodology manual 26 February 2002
Social Engineering Target Template
T a r g e t D e f i n i t i o n
Name E-mail Telephone Description
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 64
open source security testing methodology manual 26 February 2002
Social Engineering Telephone Attack Template
Attack Scenario
Telephone #
Person
Description
Results
Attack Scenario
Telephone #
Person
Description
Results
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 65
open source security testing methodology manual 26 February 2002
Social Engineering E-mail Attack Template
Attack Scenario
Email
Person
Description
Results
Attack Scenario
Email
Person
Description
Results
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 66
open source security testing methodology manual 26 February 2002
Trust Analysis Template
IP Address Domain Name
Description of Trust
IP Address Domain Name
Description of Trust
IP Address Domain Name
Description of Trust
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 67
open source security testing methodology manual 26 February 2002
Privacy Review Template
IP Address Domain Name
Privacy Policy
Privacy Violations
IP Address Domain Name
Privacy Policy
Privacy Violations
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 68
open source security testing methodology manual 26 February 2002
Containment Measures Review Template
IP Address Domain Name
Server Anti-virus / Anti-trojan Mechanisms
Server Response to SAP 27 and 42.zip
Desktop Anti-virus / Anti-trojan Mechanisms
Desktop Mail Client Types
Desktop Mail Client Vulnerabilities
Desktop Browser Client Types
Desktop Browser Client Vulnerabilities
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 69
open source security testing methodology manual 26 February 2002
E-Mail Spoofing Template
A t t e m p t s
Internal Connect
Show the results of a telnet to the mail server and sending a mail from one internal address to another
internal address.
Egression
Show the results of sending a mail from one internal address to another internal address using an
external, third-party pop server.
External Relaying
Show the results of sending a mail from one external address to another external address using the
target mail server.
Internal Relaying
Show the results of sending a mail from one internal address to an external address using the target
mail server.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 70
open source security testing methodology manual 26 February 2002
Competitive Intelligence Template
IP Address
Domain Names
Similar Domain Names
Total Content Size
Number of Documents
Number of Products
Product List
Number of Services
Services List
Method of Sales
Restricted Areas
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 71
open source security testing methodology manual 26 February 2002
Password Cracking Template
P r o t e c t e d F i l e
File name
File type
Crack time
User name
Password
E n c o d e d P a s s w o r d F i l e
IP Address
Service Port
Service Type
Protocol
File name
File type
Crack time
Login Names
Passwords
P r o t e c t e d O n l i n e S e r v i c e
IP Address
Service Port
Service Type
Protocol
Login Names
Passwords
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 72
open source security testing methodology manual 26 February 2002
Denial of Service Template
S y s t e m T e s t i n g
IP Address
Service Port
Service Type
Protocol
Test Description
Test Response
IP Address
Service Port
Service Type
Protocol
Test Description
Test Response
P r o c e s s T e s t i n g
Process
Persons
Location
Time / Date
Test Description
Test Response
Process
Persons
Location
Time / Date
Test Description
Test Response
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 73
open source security testing methodology manual 26 February 2002
Document Grinding Template
Primary Contacts
Method of Contact
Organizational Information
Business Name
Business Address
Business Telephone
Business Fax
Hierarchy Model
Office Hierarchy
Line of Business
Operations
Legal Structure
Year Started
Company History
Departments and Responsibilities
Telecommunications Information
Noted Business Phone Numbers
Phone Number Block
Phone Number Type
Number of Modems
Modem Phone Numbers
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 74
open source security testing methodology manual 26 February 2002
Modem Connect Speeds
Number of Fax Machines
Fax Phone Numbers
Unusual Phone Numbers
Employee Data
Employee Names and Positions
Employee Personal Pages
Employee Information
Outsourcers
Web Designers
Email
Tech Support
Firewall
Intrusion Detection System
Help Desk
Partners
Resellers
Internet Service Providers
Application Service Providers
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 75
open source security testing methodology manual 26 February 2002
IP Information
Domain Names
Network Blocks
Network Block Owner
Records Created
Records Last Updated
Internal Network Information
Number of Network Accounts
Network Account Standard
Network Account Creation Standard
Web Clients Used
Screen Size
Security Settings in Browser
Internal System Information
Number of Systems
System Names Standard
System Names
Types of Systems
Operating Systems
Services provided
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 76
open source security testing methodology manual 26 February 2002
Email Information
Email Server Address
Email Server Type
Email Clients
Email System
Email Address Standard
E-mail Footer
Encryption / Standard
Bounced mails
SMTP server path
Automatic Vacation Returns
Mailing Lists
Web Information
Website Address
Web Server Type
Server Locations
Dates Listed
Date Last Modified
Web Links Internal
Web Site Searchability
Web Links External
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 77
open source security testing methodology manual 26 February 2002
Web Server Directory Tree
Technologies Used
Encryption standards
Web-Enabled Languages
Form Fields
Form Variables
Method of Form Postings
Keywords Used
Company contactability
Meta Tags
Comments Noted
e-commerce Capabilities
Services Offered on Net
Products Offered on Net
Features
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 78
open source security testing methodology manual 26 February 2002
Search Engines Identified
Search Engine Ranking
Daily/Weekly/Monthly Hits
Link Popularity
Link Culture
File Management Information
FTP Server Address
SMB Server Address
Server Location
Server Type
Directory Tree
Files Sitting
Name Services
Primary (Authoritative) Name Server
Secondary
Last Update
Additional Name Servers
Firewall Information
Firewall Address
Firewall Type
IDS system
Routing Information
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 79
open source security testing methodology manual 26 February 2002
Router Addresses
Router Types
Router Capabilities
Virtual Private Network Information
VPN Capabilities
VPN Type
Network Services
Network Services Noted
Internet Presence Information
Newsgroup Postings
Bulletin Board Postings
Business Wire Postings
Help Wanted Ads
P2P Files
Cracks Found
Serial Numbers Found
Competitive Intelligence
Customer List
Target Market
Product List
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 80
open source security testing methodology manual 26 February 2002
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 81
open source security testing methodology manual 26 February 2002
So
cial Engineering Template
Company
Company Name
Company Address
Company Telephone
Company Fax
Company Webpage
Products and Services
Primary Contacts
Departments and Responsibilities
Company Facilities Location
Company History
Partners
Resellers
Company Regulations
Company Infosecurity Policy
Company Traditions
Company Job Postings
Temporary Employment Availability
Typical IT threats
People
Employee Information
Employee Names and Positions
Employee Place in Hierarchy
Employee Personal Pages
Employee Best Contact Methods
Employee Hobbies
Employee Internet Traces (Usenet, forums)
Employee Opinions Expressed
Employee Friends and Relatives
Employee History (including Work History)
Employee Character Traits
Employee Values and Priorities
Employee Social Habits
Employee Speech and Speaking Patterns
Employee Gestures and Manners
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 82
open source security testing methodology manual 26 February 2002
Equipment
Equipment Used
Servers, Number and Type
Workstations, Number and Type
Software used (with versions)
Hostnames Used
Network Topology
Anti-virus Capabilities
Network Protection Facilities Used (with software
versions)
Remote Access Facilities Used (including Dial-up)
Routers Used (with software versions)
Physical Access Control Technology Used
Location of Trash Disposal Facilities
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 83
open source security testing methodology manual 26 February 2002
Security Policy Review
Although no longer a module, the security policy review is still an important, functional part of this manual.
The security policy noted here is the written human-readable policy document outlining the mitigated risks an
organisation will handle with the use of specific types of technologies. This security policy may also be a human
readable form of the ACLs. There are two functions to be performed: first, the testing of the written against the
actual state of the Internet presence and other non internet related connections; and second, to assure that the
policy exists within the business justifications of the organisation, local, federal and international legal statutes,
with particular respect to employers and employees rights and resposibilities and personal privacy ethics.
These tasks require that the testing and verification of vulnerabilities is completely done and that all other
technical reviews have been performed. Unless this is done you cant compare your results with the policy that
should be met by measures taken to protect the operating environment.
Tasks to perform for a thorough Security Policy review:
Measure the security policy points against the actual state of the Internet presence.
Approval from Management -- Look for any sign (e.g. signature) that reveals that the policy is approved
by management. Without this approval the policy is useless because staff is not required to meet the rules
outlined within. From a formal point of view you could stop investigating the policy if it is not approved
by management. However, testing should continue to determine how effective the security measures are
on the actual state of the internet presence.
Ensure that documentation is kept, either electronically or otherwise, that the policy has been read and
accepted by people before they are able to gain any access to the computer systems.
Identify incident handling procedures, to ensure that breaches are handled by the correct individual(s)
and that they are reported in an appropriate manner.
o Inbound connec ions -- Check out any risks mentioned on behalf of the Internet inbound
connections (internet->DMZ, internet -> internal net) and measures which may be required to be
implemented to reduce or eliminate those risks. These risks could be allowed on incoming
connections, typically SMTP, POP3,HTTP, HTTPS, FTP, VPNs and the corresponding measures as
authentication schemes, encryption and ACL. Specifically, rules that deny any stateful access to the
internal net are often not met by the implementation.
t
t o Outbound connec ions -- Outbound connections could be between internal net and DMZ, as well
as between internal net and the Internet. Look for any outbound rules that do not correspond to the
implementation. Outbound connections could be used to inject malicious code or reveal internal
specifics.
o Security measures -- Rules that require the implementation of security measures should be met.
Those could be the use of AVS, IDS, firewalls, DMZs, routers and their proper
configuration/implementation according to the outlined risks to be met.
Measure the security policy points against the actual state of non-Internet connections.
o Modems -- There should be a rule indicating that the use of modems that are not specially secured is
forbidden or at least only allowed if the modems are disconnected when not in use, and configured to
disallow dial- in. Check whether a corresponding rule exists and whether the implementation follows the
requirements.
o Fax machines -- There should be a rule indicating that the use of fax machines which can allow access
from the outside to the memory of the machines is forbidden or at least only allowed if the machines are
powered down when not in use. Check whether a corresponding rule exists and whether the
implementation follows the requirements.
o PBX -- There should be a rule indicating that the remote administration of the PBX system is forbidden
or at least only allowed if the machines are powered down when not in use. Check whether a
corresponding rule exists and whether the implementation follows the requirements.
Measure the security policy against containment measures and social engineering tests based on the
organizations employees misuse of the Internet according to business justification and best security practices.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 84
open source security testing methodology manual 26 February 2002
Legal Penetration Testing Checklist
Features to Consider
Applicable Law
Privacy and Protection of Information
Obtaining and Using Personal Information.
Personal information about living people
should only be obtained and used if is
necessary for the purposes of a security test
and it is legally permissible.
Certain conditions may need to be satisfied
where personal information is obtained and
used; these conditions will vary from country
to country and could include:
- obtaining the consent from the
individual whose information is being
obtained and used;
- or the information is necessary for the
prevention and detection of a crime.
International variations exist in relation to obtaining
and processing personal data.
- There is a level of consistency between
countries from the European Community, who
have implemented Directive 95/46/EC of the
European Parliament and of the Council on the
protection of personal data with regard to the
processing of personal data and of the free
movement of such data (OJ [1995] L281/31).
- The UKs Data Protection Act 1998, which was
partly based upon the Directive 95/46/EC
expressly requires that personal data shall only
be obtained and processed fairly and lawfully.
A range of conditions need to be satisfied to
demonstrate compliance with the Data
Protection Act.
Copying, Storing, Retention and Destruction of
Information.
Information belonging to others should only
be copied and retained by the Security Testers
where it is relevant and necessary for analysis
and reporting purposes; unless such activities
are expressly prohibited by the contract or by
law.
Information belonging to others should only
be kept for as long as is necessary for the
purposes of testing and reporting.
Information that was legally obtained and
deemed necessary for the purposes of the test
should be destroyed in an appropriate manner
when it is no longer required.
The legal requirements for handling information vary
from country to country. Consistency exists between
countries from the European Community who are
subject to Directive 95/46/EC.
- The UKs Data Protection Act 1998,
which was partly based upon the Directive
95/46/EC expressly requires that personal data
should not be kept for longer than is necessary
and that adequate and appropriate security
measures should be used to protect personal
information.
- Where a US company wishes to share
personal information with a company subject
to Directive 95/46/EC, the US company must
adhere to the safe harbor requirements.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 85
open source security testing methodology manual 26 February 2002
Disclosure of Information.
Information should not be disclosed to
unauthorised individuals.
The Security Tester should ensure that an
individuals privacy rights are respected, where
necessary.
A Security Tester must not act in any manner
which could result in a breach of
confidentiality or contravention of any law or
contract.
There are various rules that exist to protect information
from unauthorised disclosed. These rules may be
necessary to protect commercial confidentiality or an
individuals privacy.
- The European Community countries
have adopted the European Convention of
Human Rights in to their national laws.
- The UKs Human Rights Act 1998
incorporates the Convention right of privacy,
article 8. The Data Protection Act 1998
requires that a minimum level of protection is
used.
- The United Nations Declaration of
Human Rights at article 12, states that every
individual has a right to privacy.
Information and System Integrity
Unauthorised interference with information systems.
Security Testers must not intentionally cause
interference to the operation of their
customers information system, unless they are
permitted by law or their customer.
Written consent may be required from the
customer prior to performance of the Security
Test.
Interference with information systems may be governed
by a range of different laws internationally. Although it
is a feature that may be incorporated as a contractual
term.
- In the UK it is necessary to closely
scrutinise the act of the perpetrator, who may
be punished under range of legislation such as
the Computer Misuse Act, the Theft Act or the
Criminal Damages Act.
Damage and Modification of information or
information systems
Security Testers should take care not to alter or
damage any information or information
systems during testing; except where
permissible by law or the contracting party.
The alteration, modification or damage of information
by the Security Testers may be a either a criminal or
civil offence or both depending on the country.
- In the UK, it is governed by the Computer
Misuse Act and the Criminal Damages Act.
Unauthorised use of information or information
systems.
There should be no unauthorised use of
information or systems; except where
permissible by law.
Information and the information systems may need to
be protected from others for a wide range of reasons;
such as maintaining client confidentiality or protecting
companies research and development.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 86
open source security testing methodology manual 26 February 2002
Communication and Authorisation
Notification of intention and actions.
Appropriate notices should be provided
to the customer and any others with a
legal right to know about the impact of
a Security Test;
The Security Testers must provide the
customer with the necessary detail of
the actions that will be taken as part of
the Test;
If any hackers are discovered on the
customers system during the Security
Test, then the Testers should inform
the customer as soon as it is possible.
All parties that may be effected by the
Internet Security Test have been
informed of the nature of the Test
where legally necessary.
It may be a legal requirement in some countries to receive
notification of intentions and actions in relation to the Security
Test.
- In the UK Security Testers may be liable for a
variety of reasons if they fail to provide the
appropriate notifications. They could breach a
contractual requirement, be deemed negligent or
infringe legislation such as the Computer Misuse Act
1990.
Notification of Responsibilities
The Security Testers should ensure that
their customers are aware of their
responsibilities, which include:
- taking back ups of information
prior to the test;
- and informing employees who
need to know, for legal or
operational purposes.
This is a general due diligence requirement, which may apply
internationally.
Authorisation
Written permission may be necessary
from the customer before the Security
Test is undertaken;
Consent may be required from
individuals or organisations other than
the customer before the Security Test is
performed;
Conducting a Security Test written the appropriate
authorisation could be a criminal or civil offence depending on
the country or countries of the test.
- it is the Computer Misuse Act 1990 in the UK
which makes it an offence to access a system without
authority.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 87
open source security testing methodology manual 26 February 2002
Suspension of the Security Test
If an intruder is discovered on the
customers information system during
the Security Test, then the test should
be suspended and the incident reported
to the customer.
Following suspension, the Security Test
should only be re-commenced with the
agreement of the customer.
Any Security Tester needs to act with caution otherwise they
could be liable for a range of misdemeanours. In particular care
needs to be exercised when intruders are discovered as the
Security Tester does not want to be blamed for the actions of
the intruder.
Contract
Contract formation and terms and conditions
Ensure that contracts are formed in
compliance with the law;
The terms and conditions for the
provision of Security Testing should be
sufficiently detailed to reflect the rights
and responsibilities of the tester and
customer.
The use of contracts is an internationally accepted practice.
There are differences between countries with contract law and
these should be addressed if contracting with organisations
from other countries.
- In the UK guidance on contractual formation can be
taken from legislation such as the Supply of Goods and
Services Act 1982. This Act provides for the existence
of implied terms in contracts such as the implied term
that a service will be carried out with reasonable care
and skill.
Liability
Ensure appropriate and legally
acceptable clauses limiting liability
exist in a contract.
- For example a clause should exist that
states that the Security Tester will not
accept responsibility or liability for any
damage or loss incurred as a result of
the customers failure to implement the
appropriate safeguards to protect the
information systems or any connected
part of it.
There are international variations with the content of liability
clauses.
- With issues of liability the UK is subject to legislation
such as the Unfair Contract Terms Act 1977.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 88
open source security testing methodology manual 26 February 2002
Contents
It may be necessary to ensure that
specific information necessary for the
test is included with any contractual
documents such as:
- a list of all the assigned IP addresses
which must be expressed as an
individual IP address and as a range.
Providing details of the scope and parameters of the Security
Test protects the customer and the Tester.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 89
open source security testing methodology manual 26 February 2002
Test References
Included with this manual are key references for using this manual in testing.
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 90
open source security testing methodology manual 26 February 2002
sap 27
The sap or sucker 27 are various extensions which are used in the wild for attempting to move trojaned code in
through e-mail systems and browsers.
Ext. Description
.ade Microsoft Access Project extension
.adp Microsoft Access Project
.bas Batch file
.chm Compiled HTML Help file
.cmd Microsoft Windows NT Command script
.com Microsoft MS-DOS program
.cpl Control Panel extension
.crt Security Certificate
.eml Outlook Express Mail
.exe Program
.hlp Help file
.hta HTML program
.inf Setup Information
.ins Internet Naming Service
.jpg JPEG image
.isp Internet Communication Settings
.js JScript file
.jse JScript Encoded Script file
.mdb Microsoft Access program
.mde Microsoft Access MDE database
.msc Microsoft Common Console document
.msi Microsoft Windows Installer package
.msp Microsoft Windows Installer patch
.mst Microsoft Visual Test source files
.pcd Photo CD Image, MS Visual compiled script
.pif Shortcut to MS-DOS program
.reg Registration entries
.scr Screen Saver
.sct Windows Script Component
.shb Shell Scrap Object
.shs Shell Scrap Object
.url HTML page
.vb VBScript file
.vbe VBScript Encoded Script file
.vbs VBScript file
.wav Sound File
.wsc Windows Script Component
.wsf Windows Script file
.wsh Windows Script Host Settings file
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 91
open source security testing methodology manual 26 February 2002
Protocols
Acronym Stands for RFC Protocol ID Description
AH IP Authentication Header RFC 2402 51
Indicates an IPSEC packet,
therefore contents will be
encrypted
DDP
(Appletalk's) Datagram Delivery
Protocol 37 Appletalk's equivalent to IP
EGP Exterior Gateway Protocol RFC 904 8
Family of routing protocols used to
connect the global Internet
EIGRP
(Cisco's) Enhanced Interior
Routing Protocol 88
Cisco's solution for routing IP,
IPX, & Appletalk
ESP IP Encapsulating Security Payload RFC 2406 50
Used to encrypt the contents of an
IPSEC packet
GRE General Routing Encapsulation RFC 2784 47
Indicates an encrypted packet,
possibly a PPTP packet
ICMP Internet Message Control Protocol RFC 950 1
Used to send error messages; also
used by Ping utility
ICMPv6 RFC 2463 58
Same as ICMP, but for IP version 6
networks
IDRP Inter-Domain Routing Protocol RFC 1745 45 A type of EGP
IGMP Internet Group Management Protocol RFC 2236 2
Used during multicasts to allow
subscribed users to receive packets
IGP
any Interior Gateway Protocol
(e.g. IGRP) RFC 1371 9
Routing protocols used to connect
smaller networks
IGRP
Cisco's Interior Gateway Routing
Protocol 9 An example of one of Cisco's IGPs
IP Internet Protocol RFC 791 0
Provides network addressing on
TCP/IP networks
IP-ENCAP
IP in IP 4
IPIP
IP-within-IP Encapsulation
Protocol 94
IPv6 Internet Protocol version 6 RFC 2460 41
Same as IP, but for IP version 6
networks
IPv6-FRAG RFC 2460 44
IPv6-NONXT
IPv6 no
next
header RFC 2460 59
IPv6-OPTS RFC 2460 60
IPv6-ROUTE RFC 2460 43
IPX-in-IP 111
L2TP Layer 2 Tunneling Protocol RFC 2661 115 Used in Virtual Private Networks
MOBILE Minimal Encapsulation within IP RFC 2004 55
Indicates an IP packet carried
within another IP packet
PNNI PNNI over IP RFC 2843 102
Used for communication between ATM
switches
RSVP
Resource Reservation Setup
Protocol RFC 2750 46
Reserves bandwidth on the Internet
for multicasts
SKIP RFC 2356 57
Allows a mobile user to maintain
their IP address securely
SWIPE IP with encryption 53
TCP Transmission Control Protocol RFC 793 6
Connection oriented transport used
in TCP/IP networks
UDP User Datagram Protocol RFC 768 17
Connection-less transport used in
TCP/IP networks
VRRP Virtual Router Redundancy Protocol RFC 2338 112
Provides dynamic default route on
static routers
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 92
open source security testing methodology manual 26 February 2002
Acronym Stands For
RFC/
Standard Port Description
AARP
Appletalk Address Resolution
Protocol
ADPA
#C0144LL/A
Since Appletalk addresses are
dynamic, ensures there are no
address conflicts
AEP AppleTalk Echo Protocol
Provides functionality similar to
Ping
ARP Address Resolution Protocol RFC 826
Maps IP addresses to associated MAC
address
ATALK AppleTalk Protocol
ADPA
#C0144LL/A The Appletalk Protocol Suite
ATMP Ascend Tunnel Management Protocol RFC 2107 5150
Allows remote users to access a
network
BGP4 Border Gateway Protocol RFC 1772 179 A type of EGP
BO2K Back Orifice 2000 31337
A dubious set of remote
administration tools
BOOTP/DHCP Bootstrap Protocol RFC 2132 67 & 68
Allows a client to receive IP
addressing info from a server
CATALYST
Synchronization protocol for Cisco
Catalyst switches 2836
Synchronization protocol for Cisco
Catalyst switches
CDP Cisco Discovery Protocol
Used by Cisco routers to exchange
information
CGMP Cisco Inter-Process Communication
Allows switches to support
multicast traffic
Chargen Character Generator RFC 864 19 Rarely used for legitimate purposes
CIPC Cisco Group Management Protocol
CSTB Cisco Spanning Tree BPDU
DAYTIME RFC 868 13 Rarely used for legitimate purposes
DBASE dBASE UNIX 217
DISCARD RFC 863 9
DISL Dynamic Inter-Switch Link
Used to load balance traffic
between switches
DLSRPN Data Link Switch (DLSw) Read RFC 1795 2065
Provides communications between
Datalink Switches
DLSWPN Data Link Switch (DLSw) Write RFC 1795 2067
Provides communications between
Datalink Switches
DNS Domain Name Service Protocol
RFCs 1034 &
1035 53
Used to translate a hostname into
its associated IP address
DOOM DOOM Game 666
DRP DEC Routing Protocol 1974
Routing Protocol used by Digital
Networks
ECHO RFC 862 7 Rarely used for legitimate purposes
FINGER Finger User Information Protocol RFC 1288 79
Used to gather information about
user accounts on Unix systems
FTP File Transfer Protocol RFC 959 20 & 21
Used to transfer files between
hosts
GARP
General Attribute Registration
Protocol
ISO/IEC
15802-3
GDP Cisco Gateway Discovery Protocol 1997
Used by Cisco routers to discover
routes
GOPHER Internet Gopher Protocol RFC 1436 70
Text based tool for browsing non-
html content
H.323 Audio/Video Conferencing Standard 1720 Audio/Video Conferencing Standard
HSRP Cisco Hot Standby Router Protocol RFC 2281 1985
Used by Cisco routers to create one
"virtual" router from many physical
routers
HTTP Hypertext Transfer Protocol RFC 1945 80 Used to exchange files on the WWW
HTTPS Secure HTTP RFC 2660 443 Used to encrypt http content
ICA
(Citrix) Independent Computing
Architecture 1494, 1604
Citrix's solution for creating
"thin" clients
ICP Internet Cache Protocol RFC 2186 3130, 3128 Used on cache servers e.g. Squid
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 93
open source security testing methodology manual 26 February 2002
ICQ I Seek You 4000 Mirabilis' web-based chat service
IDENTD Auth 113
Used to identify remote users e.g.
email client
IMAP4 Interactive Mail Access Protocol RFC 2061 143
Used to retreive email from email
servers
IMAP4-SSL RFC 2595 585, 993 Encrypts IMAP data
INGRES-N Network PostScript 134
IPX Internet Packet Exchange RFC 1132 213
Provides network addressing on
Netware networks similar in
function to IP
IPX-TUNN Tunneling IPX through IP networks RFC 1234 213
Tunneling IPX packets through IP
networks
IRC Internet Relay Chat Protocol
RFCs 2810-
2813 6667 Text-based conferencing system
ISAKMP
Internet Security Association Key
Mgmt Protocol RFC 2408 500 Used to manage keys for IPSEC
KERBEROS RFC 1510
88, 749-751,
754
Provides authentication and
encryption services
L2F Cisco Layer Two Forwarding RFC 2341 1701 Used for dial-up
L2TP Layer 2 Tunneling Protocol RFC 2661 1701
Allows many types of packets to use
PPP
L3SW Layer 3 IP and IPX switching
LDAP
Lightweight Directory Access
Protocol RFC 2251
389, 636,
3268, 3269
Used to maintain directory
databases
LPR Line Printer Remote RFC 1179 515 Used in Unix printing
MS-SQL (Microsoft's) SQL Server 1433 & 1434
Used to query and update Microsoft
databases
NBP AppleTalk Name Binding Protocol 2 & 202
Used on Appletalk networks to
register names and socket addresses
NBT NetBIOS-over-TCP
RFCs 1001 &
1002 137-139
Allows Microsoft applications to
use TCP/IP
NCP Netware Core Protocol 524
Manages access to resources on
Netware networks
NDS Netware Directory Services RFC 2241 353
Database of resources available on
a Netware network
Netmeeting 3895221731 Conferencing program from Microsoft
Netshow 1755
Streaming media utility from
Microsoft
NetwareIP 43981 & 43982 Novell's version of TCP/IP
NFS Sun Network File System RFC 3010 111 & 2049
Used to share files on Unix
networks
NHRP Next Hop Resolution Protocol RFC 2332
Used to find address of next hop on
networks that don't support
broadcasts
NLSP Netware Link State Protocol
Novell's link-state routing
protocol
NNTP Network News Transfer Protocol RFC 977 119 & 563
Used to transfer Usenet news across
the Internet
NOTES Lotus Notes Protocol 1352 Used on Lotus messaging systems
NOV-PEP Novell Packet Exchange Protocol.
NOV-RIP
Novell Routing Information
Protocol
Distance-vector routing protocol
used on Novell networks
NOV-SAP
Novell Service Advertising
Protocol
Used to find resources on Novell
networks
NOV-SPX
Novell Sequenced Packet Exchange
Protocol
Novell's connection-oriented
transport
NTALK/TALK 517, 518
Text-based conferencing system on
Unix networks
NTP Network Time Protocol RFC 1305 123
Used to synchronize clocks on a
network
OSPF Open Shortest Path First RFC 2328 89 Link-state routing protocol
POP3 Post Office Protocol RFC 1939 110 & 995
Used to retreive email from email
servers
PORTMAP SUNRPC PORTMAPPER RFC 1057 111
Maps RPC service numbers to IP port
numbers on NFS and Microsoft
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 94
open source security testing methodology manual 26 February 2002
networks
PPTP Point to Point Tunneling Protocol RFC 2637 1723
Used by Microsoft to create virtual
private networks
PRINT Network PostScript 170
QUOTD Quote of the Day 17 Rarely used for legitimate purposes
RADIUS
Remote Authentication Dial-in
Service RFC 2868 18121813 Used to authenticate dial-up users
RARP
Reverse Address Resolution
Protocol RFC 903
Used to map MAC address to its
associated IP address
RAUDIO Real Audio 6970-7170 Provides real-time audio streaming
RDP
(Microsoft's) Remote Desktop
Protocol 3389
Used by Windows2000 Terminal
Services
REXEC Remote Exec 512 Rarely used for legitimate purposes
RIP Routing Information Protcol RFC 2453 520 Distance-vector routing protocol
RLOGIN Remote login RFC 1282 513 Rarely used for legitimate purposes
RSYNC Remote Synchronization 873
Used for file synchronization in
Unix networks
RTMP
(AppleTalk's) Routing Table
Maintenance Protocol 1 & 201
Appletalk's distance-vector routing
protocol
RTP/RTCP
Real Time
(Control)
Protocol RFC 1889 5004, 5005
Used to transport time-sensitive
data, e.g. audio/video
SMB (Microsoft) Server Message Block 138, 139, 445
Information sharing protocol used
on Microsoft networks
SMTP Simple Mail Transfer Protocol RFC 2821 25 & 465
Used to deliver email over TCP/IP
networks
SNMP Simple Network Management Protocol RFC 1157 161 & 1993
Used to remotely monitor networking
devices
SNMPTRAP
Simple Network Management Protocol
Trap Port RFC 1215 162
Messages sent by devices monitored
by SNMP
SQL*NET Oracle SQL*NET
1521, 1526,
1575, 1600 Oracle's database
SSH Secure Shell 22
Used instead of telnet to securely
access Unix hosts
SSTB Shared Spanning Tree BPDU Used in bridged networks
STP Spanning Tree Protocol
ISO/IEC
15802-3 Used in bridged networks
SUNRPC SUN Remote Procedure Call Protocol RFC 1831 111 Used by NFS and NIS networks
SYBASE 7878, 8001, 8002, 8080, 9000-9002
Allows database access over
multiple protocols
SYSLOG 514 Logging facility used by Unix hosts
T.120/3
App sharing/chat/whiteboard
standard 1503
Application sharing/chat/whiteboard
standard
TACACS RFC 1492 49
Provides authentication for dial-up
users
TAGSWITC
(Cisco's)
Tag
Switching RFC 2105 Used to provide scalable routing
TELNET RFC 854 23
Used to access a command shell on a
remote host
TFTP Trivial File Transfer Protocol RFC 1350 69
File transfer protocol implemented
in ROM of diskless workstations and
routers
VDOLIVE VDOLive 7000
Used to provide real-time audio and
video
VSI Virtual Switch Interface
Used by Cisco to allow multiple,
independent control planes to
control a switch
VTP (Cisco's) VLAN Trunking Protocol
Cisco's protocol for administering
VLANs
WCCP
(Cisco's) Web Cache Coordination
Protocol 2048
Cisco's protocol for routers to
communicate with Cache Servers
WHOIS RFC 2167 43
Provides information concerning who
has registered which IP addresses
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 95
open source security testing methodology manual 26 February 2002
WINS
(Microsoft) Windows Internet Name
Service 42137
Used to locate resources on
Microsoft networks
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 96
open source security testing methodology manual 26 February 2002
X Font
Server 7100
Part of the XWindows system used on
Unix hosts
X11 X Windows Protocol 6000-6063
Provides a graphical user interface
on Unix hosts
XDMCP X Display Manager Control Protocol 177
Part of the XWindows system used on
Unix hosts
AppleTalk Zone Information
Protocol 6
Used on Appletalk networks to man
network names to zones ZIP
Copyright 2000-2002 Peter V. Herzog
http://www.ideahamster.org/ Page 97