Skip to content

Commit 184e8c8

Browse files
authored
Merge pull request #372 from RUB-NDS/version2
Updated Version to 2.0
2 parents b53d62d + 803e11a commit 184e8c8

File tree

10 files changed

+81
-60
lines changed

10 files changed

+81
-60
lines changed

Attacks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>Attacks</artifactId>
1010
<packaging>jar</packaging>

README.md

Lines changed: 72 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ You can find more information about these modules in the Wiki.
5353

5454
## Features
5555
Currently, the following features are supported:
56-
- TLS versions 1.0 (RFC-2246), 1.1 (RFC-4346) 1.2 (RFC-5246) and 1.3 (draft-ietf-tls-tls13-21)
56+
- SSL 3, TLS versions 1.0 (RFC-2246), 1.1 (RFC-4346) 1.2 (RFC-5246) and 1.3 (draft-ietf-tls-tls13-21)
5757
- DTLS 1.2 (RFC-6347)(Currently under Development)
5858
- SSL 2 (Client/Server Hello)
5959
- (EC)DH and RSA key exchange algorithms
60-
- CBC and Streamciphers
60+
- CBC, AEAD and Streamciphers
6161
- TLS client and server
6262
- HTTPS
6363
- MitM (experimental)
@@ -146,31 +146,41 @@ We know many of you hate Java. Therefore, you can also use an XML structure and
146146
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
147147
<workflowTrace>
148148
<SendAction>
149-
<ClientHello>
150-
<extensions>
151-
<HeartbeatExtension/>
152-
<ECPointFormat/>
153-
<EllipticCurves/>
154-
</extensions>
155-
</ClientHello>
149+
<messages>
150+
<ClientHello>
151+
<extensions>
152+
<ECPointFormat/>#
153+
<HeartbeatExtension/>
154+
<EllipticCurves/>
155+
</extensions>
156+
</ClientHello>
157+
</messages>
156158
</SendAction>
157159
<ReceiveAction>
158-
<ServerHello>
159-
<extensions>
160-
<HeartbeatExtension/>
161-
<ECPointFormat/>
162-
<EllipticCurves/>
163-
</extensions>
164-
</ServerHello>
165-
<Certificate/>
166-
<ServerHelloDone/>
160+
<expectedMessages>
161+
<ServerHello>
162+
<extensions>
163+
<ECPointFormat/>
164+
</extensions>
165+
</ServerHello>
166+
<Certificate/>
167+
<ServerHelloDone/>
168+
</expectedMessages>
167169
</ReceiveAction>
168170
<SendAction>
169-
<Finished/>
171+
<messages>
172+
<RSAClientKeyExchange>
173+
<computations/>
174+
</RSAClientKeyExchange>
175+
<ChangeCipherSpec/>
176+
<Finished/>
177+
</messages>
170178
</SendAction>
171179
<ReceiveAction>
172-
<ChangeCipherSpec/>
173-
<Finished/>
180+
<expectedMessages>
181+
<ChangeCipherSpec/>
182+
<Finished/>
183+
</expectedMessages>
174184
</ReceiveAction>
175185
</workflowTrace>
176186
```
@@ -195,49 +205,59 @@ We can of course use this concept by constructing our TLS workflows. Imagine you
195205
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
196206
<workflowTrace>
197207
<SendAction>
198-
<ClientHello>
199-
<extensions>
200-
<HeartbeatExtension/>
201-
<ECPointFormat/>
202-
<EllipticCurves/>
203-
</extensions>
204-
</ClientHello>
208+
<messages>
209+
<ClientHello>
210+
<extensions>
211+
<ECPointFormat/>#
212+
<HeartbeatExtension/>
213+
<EllipticCurves/>
214+
</extensions>
215+
</ClientHello>
216+
</messages>
205217
</SendAction>
206218
<ReceiveAction>
207-
<ServerHello>
208-
<extensions>
209-
<HeartbeatExtension/>
210-
<ECPointFormat/>
211-
<EllipticCurves/>
212-
</extensions>
213-
</ServerHello>
214-
<Certificate/>
215-
<ServerHelloDone/>
219+
<expectedMessages>
220+
<ServerHello>
221+
<extensions>
222+
<ECPointFormat/>
223+
</extensions>
224+
</ServerHello>
225+
<Certificate/>
226+
<ServerHelloDone/>
227+
</expectedMessages>
216228
</ReceiveAction>
217229
<SendAction>
218-
<RSAClientKeyExchange/>
219-
<ChangeCipherSpec/>
220-
<Finished/>
230+
<messages>
231+
<RSAClientKeyExchange>
232+
<computations/>
233+
</RSAClientKeyExchange>
234+
<ChangeCipherSpec/>
235+
<Finished/>
236+
</messages>
221237
</SendAction>
222238
<ReceiveAction>
223-
<ChangeCipherSpec/>
224-
<Finished/>
239+
<expectedMessages>
240+
<ChangeCipherSpec/>
241+
<Finished/>
242+
</expectedMessages>
225243
</ReceiveAction>
226244
<SendAction>
227-
<Heartbeat>
228-
<payloadLength>
229-
<integerExplicitValueModification>
230-
<explicitValue>20000</explicitValue>
231-
</integerExplicitValueModification>
232-
</payloadLength>
233-
</Heartbeat><Heartbeat/>
245+
<messages>
246+
<Heartbeat>
247+
<payloadLength>
248+
<integerExplicitValueModification>
249+
<explicitValue>20000</explicitValue>
250+
</integerExplicitValueModification>
251+
</payloadLength>
252+
</Heartbeat>
253+
</messages
234254
</SendAction>
235255
<ReceiveAction>
236-
<Heartbeat/>
256+
<Heartbeat/>
237257
</ReceiveAction>
238258
</workflowTrace>
239259
```
240-
As you can see, we explicitly increased the payload length of the Heartbeat message by 2000.
260+
As you can see, we explicitly increased the payload length of the Heartbeat message by 20000.
241261
If you run the attack against the vulnerable server (e.g., OpenSSL 1.0.1f), you should see a valid Heartbeat response.
242262

243263
Further examples on attacks and further explanations on TLS-Attacker can be found in the Wiki.
@@ -259,6 +279,7 @@ The following people have contributed code to the TLS-Attacker Project:
259279
- Lucas Hartmann: TLS-MitM Workflows
260280
- Florian Linsner: PSK
261281
- Pierre Tilhaus: Code quality improvements
282+
- Felix Kleine-Wilde: SSL 3 Support
262283

263284
Additionally we would like to thank all the other people who have contributed code to the project.
264285

TLS-Client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<name>TLS-Client</name>
1010
<artifactId>TLS-Client</artifactId>

TLS-Core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>TLS-Core</artifactId>
1010
<packaging>jar</packaging>

TLS-Core/src/main/java/de/rub/nds/tlsattacker/core/workflow/action/WaitingAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public WaitingAction() {
2929
@Override
3030
public void execute(State state) throws WorkflowExecutionException, IOException {
3131
Boolean success;
32-
LOGGER.info("Wating " + time + "ms...");
32+
LOGGER.info("Waiting " + time + "ms...");
3333
try {
3434
Thread.sleep(time);
3535
success = true;

TLS-Mitm/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>TLS-Mitm</artifactId>
1010
<packaging>jar</packaging>

TLS-Server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>TLS-Server</artifactId>
1010
<packaging>jar</packaging>

Transport/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>Transport</artifactId>
1010
<packaging>jar</packaging>

Utils/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>de.rub.nds.tlsattacker</groupId>
66
<artifactId>TLS-Attacker</artifactId>
7-
<version>2.0Beta4</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>Utils</artifactId>
1010
<packaging>jar</packaging>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>de.rub.nds.tlsattacker</groupId>
55
<artifactId>TLS-Attacker</artifactId>
6-
<version>2.0Beta4</version>
6+
<version>2.0</version>
77
<packaging>pom</packaging>
88
<inceptionYear>2015</inceptionYear>
99
<name>TLS-Attacker</name>

0 commit comments

Comments
 (0)