Commit Graph

66 Commits

Author SHA1 Message Date
Eugeny Ablesov
e2a040798a
Ablesov/fix tinycheck installation (#135)
* Update requirements.txt

Fix:
pymisp - use older version to keep code compatibility
sqlalchemy - use 1.4 latest build (api 2.0 incompatible with codebase)

M2Crypto - removed (not used)
pyOpenSSL - removed (not used)

* Update scheme.sql

pymisp warning fix

* Update main.py

Unused reference to pyOpenSSL removed
2023-05-30 15:20:09 +03:00
chebatory
3dcbd89979
Merge branch 'main' into main 2022-07-15 16:48:28 +03:00
Victor Chebyshev
87700adb4c switch from iptable to nftables 2022-07-14 15:59:52 +03:00
Félix Aimé
5cc0abcf83
Merge pull request #85 from besendorf/main
Change hardcoded paths make analysis.py usable standalone
2022-06-04 22:24:00 +02:00
chebatory
2d5ae65847 Adding Debian support 2022-02-25 17:48:55 +03:00
Janik Besendorf
c170ae2fb2 change hardcoded paths and introduce -f flag for calling analysis.py from frontende to skip device.json in report generation 2021-10-19 16:54:10 +02:00
ranlo
8da2a72df5
Update main.py 2021-09-28 12:52:54 +03:00
ranlo
c745f3ce34
Update main.py - configurable listen port
support configuration for listen port. Default to 80 if no configuration
2021-09-28 12:49:52 +03:00
securechicken
ed98061396 FIX uninit to_delete var exception 2021-07-22 16:26:25 +02:00
Félix Aimé
4b9413ba37
Update network.py 2021-06-15 18:20:31 +02:00
Félix Aimé
98bd7bab1a
Update hostapd.conf 2021-06-15 15:53:39 +02:00
Félix Aimé
08d24632a3
Update network.py 2021-06-15 15:51:42 +02:00
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