Commit Graph

54 Commits

Author SHA1 Message Date
Félix Aimé
793a97b530
Merge pull request #73 from KasperskyLab/misp
Adding MISP support to dev
2021-06-14 16:07:03 +02:00
Félix Aime
920bd6785c Enchancing report.vue 2021-06-14 13:22:26 +02:00
Félix Aime
bbfbfc2e84 Adding the choose network option 2021-06-14 10:10:24 +02:00
Félix Aime
6f5fd11a26 Modifying iocs search to show the source 2021-06-11 17:15:12 +02:00
Félix Aime
940d5954a3 Updating MISP watcher 2021-06-11 14:46:11 +02:00
Félix Aime
926daf3e34 Debug after testing, everything works great now 2021-06-10 19:48:35 +02:00
Félix Aime
73946c27e2 More code modification regarding MISP integration 2021-06-10 19:00:06 +02:00
Félix Aime
8e09d4e1c8 More code modification regarding MISP integration 2021-06-10 18:37:40 +02:00
Félix Aime
f189f2e100 Code modifications regarding MISP integration 2021-06-09 18:24:37 +02:00
Félix Aime
a481e88251 Deleting get iocs endpoint 2021-06-09 12:49:28 +02:00
Félix Aime
1d1c217258 Deleting edit endpoint 2021-06-09 12:48:44 +02:00
Félix Aime
93e164d7c2 Typo in comment 2021-06-09 11:17:30 +02:00
Félix Aime
50baeaa9e5 Updating misp class and associated watcher code 2021-06-09 11:11:55 +02:00
Félix Aime
691a413bfb Modifying ip4addr & ip6addr types 2021-06-09 09:27:30 +02:00
Félix Aime
73ee7a280b Some modifications, still need tests and debug 2021-06-08 20:11:51 +02:00
Félix Aime
e0c79fa5d6 Working on the MISP integration, still WIP (untested) 2021-06-08 18:22:52 +02:00
Félix Aime
61de73d989 Adding the channel check to prevent interferences 2021-06-08 11:49:53 +02:00
Félix Aimé
c1b8f4a447
Merge pull request #70 from JulAkx/misp
New Feature : Import IoCs from an added MISP instance.
2021-06-06 11:08:35 +02:00
Félix Aime
2968d6fcb6 Adding unsaved captures deletion 2021-06-03 14:08:34 +02:00
Julien DEPAILLAT
24be446598 New Feature : It is now possible to import IoCs from an added MISP instance. 2021-05-10 16:08:58 +02:00
Félix Aime
e04ef547c2 Update snort rule issue + http header detection 2021-05-04 14:48:09 +02:00
Félix Aime
ceb36f81ae Adding Wi-Fi network priority #55 2021-03-25 15:01:58 +01:00
bl4ckh0l3z
36833e1c6b
Update main.py
ERROR in app: Exception on /api/get-token [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.7/dist-packages/flask_httpauth.py", line 164, in decorated
    return f(*args, **kwargs)
  File "/usr/share/sauron/server/backend/main.py", line 37, in get_token
    return jsonify({"token": token.decode("utf8")})
AttributeError: 'str' object has no attribute 'decode'
2021-03-23 21:02:41 +01:00
bl4ckh0l3z
2f232bbc15
Specify algorithm for jwt.decode
>>> jwt.decode(token, app.config["SECRET_KEY"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/jwt/api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/jwt/api_jwt.py", line 80, in decode_complete
    'It is required that you pass in a value for the "algorithms" argument when calling decode().'
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
2021-03-23 20:57:23 +01:00
Félix Aime
0d32a1d3c4 Minor changes (loader link + iptables rule) 2021-03-10 18:07:33 +01:00
Félix Aime
e4d63a7ef5 Preventing the analyzed device to reach TinyCheck 2021-02-26 13:25:10 +01:00
Félix Aime
8d64b3bc9a Some changes for the GUI 2021-02-19 13:20:18 +01:00
Félix Aime
6790b17f86 Changes to get the current version 2021-02-19 10:57:11 +01:00
Félix Aime
9382a1fd9f Starting update interface implementation 2021-02-18 22:17:29 +01:00
Félix Aime
5334f30edf Adding GUI update feature (server-side) 2021-02-17 20:16:39 +01:00
Félix Aime
2095a1c3d6 Formatting changes 2021-02-16 16:55:34 +01:00
Félix Aime
53620b6a0a Adding the possibility to delete elements/IOCs from watchers 2021-02-16 16:51:36 +01:00
Félix Aime
488c0cdb1b No internet feature 2021-02-15 20:46:56 +01:00
Félix Aime
f4d361488c Adding nonet feature 2021-02-15 16:35:10 +01:00
Félix Aime
8b3cc56b08 Adding translation by using i18n 2021-02-08 16:34:32 +01:00
Félix Aime
b759054908 Several corrections 2021-02-04 16:13:05 +01:00
Félix Aime
fb9c28d609 Several corrections 2021-02-04 16:04:59 +01:00
Félix Aime
dfbd920c6c Several corrections 2021-02-04 15:47:03 +01:00
Félix Aime
b8d165178c Correcting typo 2021-02-04 15:22:54 +01:00
Félix Aime
30d08c544b Interface translation test 2021-02-04 11:11:43 +01:00
Félix Aime
a6c88b7cea Deleting saved capture folder 2021-01-28 18:57:35 +01:00
Félix Aime
7ce0d45544 Changing wrong configuration key 2021-01-22 15:06:08 +01:00
Félix Aime
3620e93ae6 Welcome to ethernet 2021-01-22 14:09:03 +01:00
Félix Aime
e88996cb0c Predictable Network Interface Names support 2021-01-19 17:25:06 +01:00
Félix Aimé
c272bfebeb
Update network.py 2021-01-13 16:46:35 +01:00
Félix Aime
a93d6c7d5f Patch for the bug #13 2021-01-13 10:40:01 +01:00
Félix Aime
0ef31d13a5 Changes regarding hostapd errors 2021-01-12 17:10:24 +01:00
Félix Aime
9ed61f201e Adding users controls on the frontend quit/shutdown/reboot 2021-01-11 13:42:29 +01:00
Félix Aime
f465d46d92 Adding infos related to the capture in the generated report 2021-01-08 11:49:30 +01:00
Félix Aime
8f56909e4f Adding the export of PDF report 2021-01-06 21:19:03 +01:00