Debian Codegraph @

NEWS

raw
1 This file gives a brief overview of the major changes between each ike-scan
2 release. For more details please read the ChangeLog file or the git commit
3 history.
4
5 ike-scan v1.9.4 2013-11-14:
6
7 * Added support for key exchange payloads with diffie-hellman ECP groups 19,
8 20 and 21.
9
10 * Moved ike-scan development from internal SVN repository to github at
11 https://github.com/royhills/ike-scan. The move to git means that the commit
12 object names are now SHA1 hashes instead of increasing integer values. So
13 they are longer suitable for internal file versions with rcsid variables.
14 Accordingly the rcsid varable have been removed.
15
16 * Fixed most occurances of set but unused variables as reported by GCC 4.6.
17
18 * Added support for IPnet:netmask format for target networks.
19
20 * Improved handling of multiplier suffix for --bandwidth and --interval
21 options: allow either upper or lowercase letters, and give an error for
22 unknown multiplier letters.
23
24 * Enabled compiler security options -fstack-protect, -D_FORTIFY_SOURCE=2 and
25 -Wformat-security if they are supported by the compiler. Also enabled extra
26 warnings -Wwrite-strings and -Wextra.
27
28 * The function that converts strings to numbers is now stricter, and no longer
29 permits any invalid characters. This improves error reporting in some invalid
30 cases that previously gave no error, e.g. using "1=7/256" in an advanced
31 transform specification.
32
33 * New backoff patterns for Cisco PIX 7.0.
34
35 * New vendor ids for Windows 2008 server, plus contributions by
36 Jesper Kückelhahn and Jonathan Claudius.
37
38 * ike-scan now uses the OpenBSD strlcat and strlcpy functions instead of
39 the standard strcat, strncat, strcpy and strncpy functions. This reduces
40 the chance of buffer overflow bugs.
41
42 * Various minor improvements and bugfixes.
43
44 ike-scan v1.9:
45
46 * ike-scan wiki at http://www.nta-monitor.com/wiki/
47 This will contain ike-scan documentation and associated IPsec information.
48
49 * IKEv2 support with --ikev2 option that sends IKE version 2 format packets,
50 and version 2 packets that are received are correctly decoded. The IKEv2
51 support is currently experimental as it has only been tested against one
52 implementation (strongSwan), and it only supports the default proposal.
53
54 * New --rcookie option allows the responder cookie to be set to the specified
55 value in outgoing packets. The default is zero.
56
57 * psk-crack allows the dictionary to be read from stdin with the
58 --dictionary=- option. This allows another program to generate
59 candidate passwords, e.g.
60 john --incremental --stdout | psk-crack --dictionary=- psk-file
61
62 * New --nat-t option to enable RFC 3947 NAT Traversal. This option adds the
63 Non-ESP marker to outbound packets and strips it from responses. It also
64 changes the default UDP source and destination ports both to 4500.
65
66 * New --sourceip option, which allows spoofing source IP address. This only
67 works on systems that support raw sockets.
68
69 * Allow matching backoff patterns which contain only one packet. This is for
70 simplistic implementations that don't perform any backoff at all. There are
71 very few of these systems, so this absense of a pattern is still useful for
72 fingerprinting.
73
74 * psk-crack is able to crack passwords hased with the Nortel Contivity
75 proprietary algorithm as well as those using the standard algorithm.
76
77 * New --shownum option, which causes the number of each packet received to
78 be displayed before the packet details.
79
80 * New --timestamp option, which causes the time when the packet was received
81 to be displayed in %H:%M:%S.%u format before the packet details.
82
83 * New --randomseed option, which allows the PRNG seed to be specified.
84 This allows packets containing payloads with random data, such as Key
85 Exchange and Nonce to be repeatable.
86
87 * Changed PRNG implementation from the standard rand() function to the
88 Mersenne Twister. This is both a better PRNG and is also reproducable across
89 different platforms.
90
91 * Changed revision control system from CVS to SVN, with the result that the
92 individual source file version numbers as reported with --version or
93 ident(1) are now integers like 9876 rather than 1.x format.
94
95 * Improved "make check" tests to check new features and increase code
96 coverage.
97
98 ike-scan v1.8:
99
100 * Added many new vendor ID and UDP backoff patterns. There are now a total
101 of 29 backoff patterns, and 135 vendor ID patterns.
102
103 * Several bugs fixed in both psk-crack and ike-scan. Notable fixes include:
104
105 o Numeric arguments are now checked for validity
106 o Perform 64-bit time calculations correctly
107 o Correct psk-crack handling of multiple PSK records
108 o Fixed bug which caused hostnames containing hyphens to fail with an error.
109 o Name lookup errors are now non-fatal.
110
111 * Added support for more flexible transform specification, which allows
112 an arbitary number of transform attributes to be specified in any order.
113
114 This new method is specified by using an alternative syntax for the --trans
115 option: --trans=(attr=value, ...). The old syntax of --trans=a,b,c,d is
116 still available. Note that the brackets are special to some shells, and
117 may need to be quoted.
118
119 * Made the specification of the lifetime and lifesize transform attributes
120 with the --lifetime and --lifesize options more flexible. Now, the argument
121 to these options can take three different forms:
122
123 o The string "none" - Do not add any lifetime or lifesize attribute.
124 o A decimal integer, e.g. 86400 - Add a 4-byte value.
125 o A hex number, e.g. 0xff - Add a variable length value.
126
127 The hex notation allows arbitary length lifetime and lifesize attributes
128 to be added
129
130 * Changed default packet-rate calculation from interval to bandwidth. The
131 default outgoing bandwidth is 56000 bits per second, and can be changed with
132 the --bandwidth option. It is still possible to specify an inter-packet
133 interval instead with the --interval option.
134
135 * Display the version, flags and msgid from the ISAKMP header if they don't
136 contain the expected value.
137
138 * Decode and display CERTIFICATE, DELETE and NOTIFICATION payloads if they
139 are received.
140
141 * Display the responder cookie from the ISAKMP header unless quiet is in effect.
142
143 * Display the SPI if its size is non-zero. Normally, the SPI size is zero
144 during Phase-1, but I've observed some implementations to use a non-zero
145 length, which is permitted by RFC 2408.
146
147 * Added new options to allow more control of the outgoing packet. Note that
148 some of these options can make the outgoing packet non RFC compliant:
149
150 o --spisize Adds a random SPI of the specified length to the proposal payload
151 o --cookie Sets the initiatior cookie to the specified static value
152 o --hdrflags Sets the flags field in the ISAKMP header
153 o --hdrmsgid Sets the MsgID field in the ISAKMP header
154 o --exchange sets the exchange field in the ISAKMP header to the specified value
155 o --noncelen (-c) allows the length of the nonce data to be specified
156 o --bandwidth (-B) specify desired outgoing bandwidth usage
157 o --certreq (-C) Adds a CertificateRequest payload to the outgoing packet
158 o --headerlen (-L) allows the ISAKMP header length to be manually specified
159 o --mbz (-Z) allows the value for the reserved fields that "must be zero" to be sent to a specified non-zero value
160 o --headerver (-E) allows the header version in the ISAKMP header to be changed from the default of 0x10 (v1.0)
161 o --protocol (-j) allows the proposal protocol to be changed from the default
162 o --transid (-k) allows the transform id to be changed from the default
163 o --doi (-D) allows the DOI in the SA to be changed from the default
164 o --situation (-S) allows the Situation in the SA to be changed from the default
165
166 * The full help output is now only displayed if it is specifically requested
167 by running ike-scan with the --help (-h) option. Usage errors now result in
168 a smaller help output. This avoids outputting a multi-screen usage message
169 just because of a typo on the command line.
170
171 * drop root privilege after binding the local port if we are running SUID.
172 This improves security somewhat.
173
174 * Make POSIX regular expression support mandatory. Previously, it was
175 optional, but I'm not aware of any supported systems that lack it, and we
176 are using it in more and more places.
177
178 * Improved mapping of ID numbers to names in decode. This allows sparse IDs
179 ranges (e.g. 1,2,3,65000) to be supported, which means that we can now decode
180 XAUTH authentication method amongst other things.
181
182 * Added SO_BROADCAST option to UDP socket to allow sending to broadcast
183 addresses. Previously this gave a permission denied error, even for root.
184
185 * Added OpenSSL exception to the copyright notice, which permits linking of the
186 program against OpenSSL. This is to allow the use of OpenSSL in this GPL v2
187 licensed program.
188
189 ike-scan v1.7:
190
191 * Improved "make check" tests, so they now check more areas including Pre-
192 Shared Key cracking, HMAC and Hash speeds, and HMAC and Hash test vectors.
193
194 * Added --nodns (-N) option to prevent DNS lookups. With this option,
195 target hosts are not processed with gethostbyname(), which can avoid
196 delays when the system running ike-scan does not have functioning DNS.
197
198 * Added additional authentication methods and hash algorithms to the output
199 decoding functions in isakmp.c
200
201 * Added new psk-crack program to perform offline aggressive mode pre-shared
202 key cracking using the output from ike-scan with the --pskcrack option.
203 This psk-crack program supports both dictionary and brute-force cracking
204 modes against MD5 and SHA1-based HMAC hashes.
205
206 * Added ability to output aggressive mode pre-shared key (PSK) parameters
207 for later offline cracking with the --pskcrack (-P) option. This option
208 outputs the pre-shared key parameters as colon-separated hex-encoded values
209 in the following format:
210
211 g_xr:g_xi:cky_r:cky_i:sai_b:idir_b:ni_b:nr_b:hash_r
212
213 These parameter details can be used by the psk-crack program (which is
214 supplied as part of the ike-scan package) to attempt to crack the pre-
215 shared key.
216
217 * Added support for IKE over TCP with the --tcp (-T) option. Two TCP
218 variants are supported:
219
220 --tcp=1 (-T1) specifies raw IKE over TCP as used by Checkpoint; and
221 --tcp=2 (-T2) specifies encapsulated IKE over TCP as used by Cisco.
222
223 Note that you can only scan one host at a time when using IKE over TCP.
224
225 When using TCP, you can modify the connect() timeout with the
226 --tcptimeout (-O) option. Default timeout is 10 seconds.
227
228 * Added experimental timing error smoothing code, which is based on the TCP RTT
229 smoothing algorithm in RFC 793. This is disabled by default; to enable it,
230 #define ALPHA in ike-scan.h
231
232 * Allow the ID (Identity) payload that is specified with the --id option to
233 be specified as either a string e.g. --id=test or a hex value with a leading
234 0x e.g. --id=0xdeadbeef. Note that you will probably need to change previous
235 ID payload strings because of this change, as previously they were always
236 interpreted as hex.
237
238 * Added support for OpenSSL MD5 and SHA1 hash functions. These are generally
239 faster than the hash functions supplied with ike-scan, which is of benefit
240 when performing pre-shared key cracking.
241
242 To compile with OpenSSL, use the --with-openssl option to configure. With
243 this option, configure will search for the OpenSSL libraries in several
244 standard locations.
245
246 * Added --random (-R) option to randomise the host list before scanning.
247 This causes the hosts to be scanned in a random order, which may be less
248 obvious than the default sequential scanning. The Knuth shuffle algorithm
249 is used to randomise the list.
250
251 * Changed host entry from a linked-list to a dynamic array which decreases the
252 memory required from 56 bytes per target host to 45 bytes.
253
254 * Added several new Vendor ID patterns.
255
256 * Added several new UDP backoff patterns.
257
258 ike-scan v1.6:
259
260 * ike-scan will now display multiple Vendor ID payloads if the server sends
261 more than one. Previously, it would only display the first Vendor ID and
262 ignore the others.
263
264 * Added support for ISAKMP lifetime size transform attribute with the
265 --lifesize (-z) option. This is specified as kilobytes. The default is
266 0 which means don't include the lifetime size attribute.
267
268 * Added support for GSS IDs with --gssid (-G) option. GSS IDs are described in
269 draft-ietf-ipsec-isakmp-gss-auth-07.txt. This is used by Windows-2000
270 IPsec for Kerberos authentication.
271
272 * Allow target hosts to be specified as IPnet/bits to include all hosts in
273 the given network, or IPstart-IPend to include all hosts in the inclusive
274 range as well as single hostnames or IP addresses.
275
276 * Added support for Vendor ID fingerprinting. The file "ike-vendor-ids"
277 contains a list of known Vendor ID patterns, specified as Posix extended
278 regular expressions. These are used to match against the ascii hex
279 representation of any returned Vendor IDs, and the name of the entry is
280 displayed if a match is found.
281
282 * SA transform attributes and ID payloads are now decoded, and basic details
283 (name and size) are displayed for payload types that we don't decode yet.
284 Added --quiet option to prevent this decoding if it's not required.
285 Added --multiline option to split the decode over multiple lines - one line
286 per payload. With --multiline, each payload decode line starts with a TAB.
287
288 ike-scan v1.5.1:
289
290 * Fixed a bug which could cause a negative value to be passed to select()
291 when collecting backoff fingerprints. This would result in select()
292 returning EINVAL.
293
294 ike-scan v1.5:
295
296 * Aggressive mode is now supported. The --aggressive (-A) option specifies
297 aggressive mode.
298
299 * The --trans option can be specified multiple times to generate an arbitrary
300 number of custom transforms in the ISAKMP SA Proposal.
301
302 * The --vendor option can be specified multiple times to generate an arbitrary
303 number of Vendor ID payloads.
304
305 * UDP engine improvements: Dynamically adjust select() timeout, removing the
306 need for a --selectwait argument; keep track of cumulative timing error, and
307 use this to adjust the timing to compensate; calculate timings in
308 microseconds rather than milliseconds to improve accuracy; and some minor
309 tuning.
310
311 ike-scan v1.4:
312
313 * Two additions to permit Vendor ID fingerprinting.
314 1. Allow the specification of an arbitrary Vendor ID payload using the
315 --vendor option.
316 2. Display any Vendor ID payload returned by the target host.
317
318 ike-scan v1.3: (Unofficial release)
319
320 * Added support for per-pattern-entry fuzz values in the backoff patterns
321 file which allows more complex backoff patterns to be matched.
322 * Added new backoff patterns for "watchguard-soho" and "sonicwall-pro".
323
324 ike-scan v1.2:
325
326 * Fixed format string vulnerability in syslog() call.
327 * ike-scan now builds and runs on HP Tru64 Unix.
328
329 ike-scan v1.1:
330
331 * Added new backoff patterns for Cisco Concentrator and isakmpd.
332 * ike-scan now builds and runs on Windows/Cygwin, old libc5 Linux systems, and
333 Solaris 2.8 / SPARC.
334 * Windows command-line binary released.
335
336 ike-scan v1.0: (Initial release)
337
338 * Compiles and runs on Debian Linux 2.2 "potato" and 3.0 "woody", FreeBSD 4.3,
339 and OpenBSD 3.1.