-
Notifications
You must be signed in to change notification settings - Fork 2
/
fortinet.ps1
434 lines (390 loc) · 19.5 KB
/
fortinet.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
#Requires -Version 4.0
# FortiGate-Add-IP-To-Group
# Guy Harper
# 2016-02-03
#
# This script may be used to query and modify the policy objects of a
# FortiGate firewall via its API
#
# The following steps are performed:
#
# 1. Authenticate to the API and gather session cookie and CSRF token
# 2. GET group membership for 'logrhythm-blocklist' group
# 4. Add specified object to 'logrhythm-blocklist' group
#==========================================#
# LogRhythm Threat Research #
# Fortinet - SmartResponse #
# matt . willems @ logrhythm . com #
# v0.1 -- April, 2016 #
#==========================================#
# Copyright 2016 LogRhythm Inc.
# Licensed under the MIT License. See LICENSE file in the project root for full license information.
# Assign args
param (
[string]$username = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>"),
[string]$pass = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>"),
[string]$fortiIP = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>"),
[string]$port = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>"),
[string]$command = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>"),
[string]$object = $(throw "Usage: fortinet.ps1 <username> <password> <fortinet ip> <port> <command> <target>")
)
# Set up a trap to properly exit on terminating exceptions
trap [Exception]
{
write-error $("TRAPPED: " + $_)
exit 1
}
# debug: echo params
Write-Host "Username: $username"
#Write-Host "Passowrd: $pass"
Write-Host "TargetIP: $fortiIP"
Write-Host "DestPort: $port"
Write-Host "Command:: $command"
Write-Host "Object::: $object"
Write-Host ""
# Ignore invalid SSL certification warning
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
#data validation
if ($command -eq "get"){
Write-Host "Get $object"
}
elseif ($command -eq "add_ip"){
if ($object -match "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"){
Write-Host "Valid IP."
}
else {
Write-Host "Invalid IP."
exit 1
}
}
elseif ($command -eq "add_domain"){
if ($object -match "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"){
Write-Host "Valid IP. Use add_ip instead."
exit 1
}
elseif ($object -match "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)+([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$"){
Write-Host "Valid Domain name."
}
else {
Write-Host "Invalid Domain name."
exit 1
}
}
else {
Write-Host "Invalid command. Please use add_ip or add_domain."
exit 1
}
# Get session token & CSRF token
# Create URL with the correct calling parameters
$authURL = "https://${fortiIP}:${port}/logincheck"
$baseURL = "https://${fortiIP}:${port}"
# Echo the URL back to the SmartResponse Status viewer
#Write-Host "AuthURL:: $authURL"
# define POST parameters
#$authParams = @{username=$username;secretkey=$pass}
$authParams = "username=${username}&secretkey=${pass}"
#Write-Host "POSTdata: $authParams"
#ignore self signed certs
[Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
#find current working directory and make a path to curl.exe
$path = Get-Location
$curl = "$path\curl.exe"
#make auth URL
$newURL = "${authURL}?${authParams}"
#Write-Host "NewURL::: $newURL"
#execute curl POST to auth url with creds (see above)
$output = & $curl -s -X POST --header "Content-Type: application/x-www-form-urlencoded" --insecure -D - "$newURL"
#Write-Host "Output::: $output"
#test for HTTP response 200. If so, parse cookie and token from response
if($output -match "200 OK"){
$cookie = ($output -split ';')[3]
$cookie = $cookie.TrimStart("Set-Cookie: ")
Write-Host "Cookie::: $cookie"
$token = ($output -split ';')[6]
$token = $token.TrimStart('Set-Cookie: "ccsrftoken="')
$token = $token.TrimEnd('"')
Write-Host "Token:::: $token"
}
else{ #if no 200 response, auth failed
Write-Host "Authentication Failure."
exit
}
if($cookie -match "APSCOOKIE_\d+=`"0%260`""){ #if returned 200 but cookie is 00, auth failed
Write-Host "Authentication Failure."
exit
}
#function to add IP to fortigate
function Add-FortinetIP {
param($baseURL, $cookie, $token, $command, $object)
#set up vars. URL to correct API resource, generate a GUID and create a name, build JSON object containing target IP
$createURL = "${baseURL}/api/v2/cmdb/firewall/address"
$GUID = [guid]::NewGuid()
$name = "LogRhythm-$GUID"
if ($command -eq "add_ip"){
$data = "{ \`"vdom\`" : \`"root\`", \`"json\`" : { \`"name\`" : \`"$name\`", \`"subnet\`" : \`"$object/32\`" } }"
Write-Host "Creating Address Object for IP: $object..."
Write-Host "URL: $createURL"
Write-Host "Address Name: $name"
#Write-Host "Data: $data"
#curl POST to create address object from above json data
$createoutput = & $curl -s -X POST -H "Cookie: $cookie" -H "X-CSRFTOKEN: $token" -H "Content-Type: application/json" -d "${data}" --insecure "$createURL"
#Write-Host "Create output: $createoutput"
}
elseif ($command -eq "add_domain"){
$data = "{ \`"vdom\`" : \`"root\`", \`"json\`" : { \`"name\`" : \`"$name\`", \`"type\`" : \`"wildcard-fqdn\`", \`"fqdn\`" : \`"*.$object\`" } }"
Write-Host "Creating Address Object for domain: $object..."
Write-Host "URL: $createURL"
Write-Host "Address Name: $name"
#Write-Host "Data: $data"
#curl POST to create address object from above json data
$createoutput = & $curl -s -X POST -H "Cookie: $cookie" -H "X-CSRFTOKEN: $token" -H "Content-Type: application/json" -d "${data}" --insecure "$createURL"
Write-Host "Create output: $createoutput"
}
return $name
}
if ($command.Equals("add_ip") -Or $command.Equals("add_domain")){
#call function to create address object, return name
$name = Add-FortinetIP $baseURL $cookie $token $command $object
Write-Host "Function created $name"
#this block returns the existing contents of the address group. that data must be modified to include the new address object created above and PUT back to the API
#possible future ability to pass in group name
$group = "logrhythm-blocklist"
Write-Host "Get details of $group..."
$getURL = "${baseURL}/api/v2/cmdb/firewall/addrgrp/${group}"
Write-Host "Get URL: $getURL"
#curl to GET the address group
$getoutput = & $curl -s -X GET -H "Cookie: $cookie" -H "X-CSRFTOKEN: $token" -H "Content-Type: application/json" --insecure -D - "$getURL"
#split output on newlines into an array
$newoutput = $getoutput -split "`n"
#size the array and set variables
$y = $newoutput.GetUpperBound(0)
$x = 1
$z = 0
$json
#iterate through array elements, find the beginning of the JSON, start adding elements from array to json variable
DO {
$string = $newoutput[$x]
if ($string -contains "{"){
$z = 1
}
if ($z -eq 1){
$json = $json + $string
}
$x++
} While ($x -le $y)
#display json
ConvertFrom-Json $json | select -expand results | select -expand member #| Select name
#this is where i start modifying the member data. find the correct json node
$json -match "`"member`".*?\]"
$members = $matches[0]
#remove the close bracket, add new entry inside of JSON formatting
$members = $members.TrimEnd("]")
$members = $members + ", { `"name`" : `"$name`" } ]"
Write-Host ""
#Write-Host $members
$members = $members -replace "`"","\`""
$addURL = "${baseURL}/api/v2/cmdb/firewall/addrgrp"
#$data = "{ \`"vdom\`" : \`"root\`", \`"json\`" : { \`"member\`" : [ { \`"name\`" : \`"$object\`" }, { \`"name\`" : \`"test-matt-chrome-1\`" }, { \`"name\`" : \`"LogRhythm-12e04c82-25de-45fc-8890-0d15612e1be1\`" } ] } }"
$data = "{ \`"vdom\`" : \`"root\`", \`"json\`" : { $members } }"
#Write-Host ""
#Write-Host $data
Write-Host "Adding $name to address group $group..."
#Write-Host "URL: $addURL/$group"
#Write-Host "Data: $data"
$addoutput = & $curl -s -X PUT -H "Cookie: $cookie" -H "X-CSRFTOKEN: $token" -H "Content-Type: application/json" -d "$data" --insecure "$addURL/$group"
Write-Host "Add output: $addoutput"
if($addoutput -match "`"http_status`":200"){
Write-Host "200: Added $name to $group."
}
else{
Write-Host "HTTP Error. Failed to add $name to $group."
exit
}
}
if ($command.Equals("get")){
Write-Host "Get details of $object..."
$getURL = "${baseURL}/api/v2/cmdb/firewall/addrgrp/${object}"
Write-Host "Get URL: $getURL"
$getoutput = & $curl -s -X GET -H "Cookie: $cookie" -H "X-CSRFTOKEN: $token" -H "Content-Type: application/json" --insecure -D - "$getURL"
#$getoutput
$newoutput = $getoutput -split "`n"
$y = $newoutput.GetUpperBound(0)
$x = 1
$z = 0
$json
DO {
$string = $newoutput[$x]
if ($string -contains "{"){
$z = 1
}
if ($z -eq 1){
$json = $json + $string
}
$x++
} While ($x -le $y)
#$members = $json.
ConvertFrom-Json $json | select -expand results | select -expand member | Select name
}
#Log out of API
$logout = & $curl -s -X POST "$baseURL/logout"
# SIG # Begin signature block
# MIIdxgYJKoZIhvcNAQcCoIIdtzCCHbMCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUx9/wJMUMd06Xy5fDe2G/a+9a
# OC6gghi2MIID7jCCA1egAwIBAgIQfpPr+3zGTlnqS5p31Ab8OzANBgkqhkiG9w0B
# AQUFADCBizELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIG
# A1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhh
# d3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0ZSBUaW1lc3RhbXBpbmcg
# Q0EwHhcNMTIxMjIxMDAwMDAwWhcNMjAxMjMwMjM1OTU5WjBeMQswCQYDVQQGEwJV
# UzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xMDAuBgNVBAMTJ1N5bWFu
# dGVjIFRpbWUgU3RhbXBpbmcgU2VydmljZXMgQ0EgLSBHMjCCASIwDQYJKoZIhvcN
# AQEBBQADggEPADCCAQoCggEBALGss0lUS5ccEgrYJXmRIlcqb9y4JsRDc2vCvy5Q
# WvsUwnaOQwElQ7Sh4kX06Ld7w3TMIte0lAAC903tv7S3RCRrzV9FO9FEzkMScxeC
# i2m0K8uZHqxyGyZNcR+xMd37UWECU6aq9UksBXhFpS+JzueZ5/6M4lc/PcaS3Er4
# ezPkeQr78HWIQZz/xQNRmarXbJ+TaYdlKYOFwmAUxMjJOxTawIHwHw103pIiq8r3
# +3R8J+b3Sht/p8OeLa6K6qbmqicWfWH3mHERvOJQoUvlXfrlDqcsn6plINPYlujI
# fKVOSET/GeJEB5IL12iEgF1qeGRFzWB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