Commit Graph

801 Commits (4a732ea9f3fa0cd13f3af1289bc309897b4e7521)

Author SHA1 Message Date
Terrtia 8612d89275
fix: [SQL module] fix typo 2019-09-19 12:22:21 +02:00
Miroslav Stampar ba46e38125 Improvement of SQLi detection 2019-09-19 12:08:11 +02:00
Terrtia fed04e8e5a
chg: [Tracker] add optionnal description field 2019-09-13 16:33:34 +02:00
Terrtia fb35be77f4
chg: [Tracker] add more info 2019-09-13 11:06:41 +02:00
Alexandre Dulaunoy 35dcf428ff
Merge pull request #389 from CIRCL/term_trackerv1
Term trackerv1
2019-09-12 14:06:05 +02:00
Terrtia 01ff202ae8
chg: [update] add v2.2 update + fix default update + fix Empty Item.get_tags() + add new LAUNCHER options 2019-09-12 13:25:29 +02:00
Terrtia 0ced25f3be
chg: [trackers] filter trackers list by type + minor fix 2019-09-11 15:33:04 +02:00
Terrtia 21013a7935
fix: [BankAccount] fix #385 2019-09-04 17:08:28 +02:00
Terrtia bd8735a6e5
chg: [merge] master 2019-09-04 10:24:46 +02:00
Terrtia e0bb973989
fix: [API doc] get bitcoin metadata + list of items 2019-09-04 10:06:52 +02:00
Terrtia dfd1128daa
chg: [api] add new endpoints: get bitcoin/pgp name/pgp keys/pgp mail metadata + items list 2019-08-16 17:59:44 +02:00
Alexandre Dulaunoy ab45ac0fef
Merge pull request #370 from CIRCL/api_v1
Api v1
2019-08-14 14:28:52 +02:00
Terrtia 7ed09bc923
chg: [UI term tracker] refractor term management: trackers list + show trackers + add new trackers 2019-08-14 09:44:49 +02:00
Terrtia 80f9535074
chg: [api] add endpoint: get tracked item_id by uuid and daterange 2019-08-09 17:07:54 +02:00
Terrtia 4b0819a644
chg: [api] add endpoint: delete tracker term (regex/set/word) 2019-08-09 15:22:57 +02:00
Terrtia 1008c7c4fe
chg: [Term Tracker] refractor term tracker word/set/regex modules + remove old modules 2019-08-09 14:20:13 +02:00
Terrtia d9bdfecef3
fix: [Term Tracker module] chg module flow 2019-08-07 12:19:42 +02:00
Terrtia bb6d3a6a26
chg: [Term tracker] add term tracker module (word + set) + API: add new term to track (word + set + regex) 2019-08-07 12:08:24 +02:00
Terrtia 28320a32a6
chg: [term] refractor + add new tracked word/set 2019-08-06 17:03:49 +02:00
Terrtia e28d563523
chg: [api] use POST with parameters + add API unittest 2019-08-05 16:00:23 +02:00
Terrtia 5e1ae8a893
chg: [api] add new endpoints: get tag metadata + get all tags 2019-08-01 14:36:52 +02:00
Terrtia 98fb6ecef7
fix: [api doc] typo 2019-08-01 13:43:28 +02:00
Terrtia 4c20f58a52
chg: [api] add advanced get item via POST + use same query for each get item 2019-08-01 13:16:57 +02:00
Terrtia 8c02c1b00b
chg: [api] add 404 errors code + add future endpoints in doc 2019-08-01 09:45:59 +02:00
Terrtia 918b4c28ed
fix: [api] fix errors handler 404 405, return json 2019-07-31 13:24:43 +02:00
Terrtia 5f5e86bb13
fix: [Tags + api] fix dict keys name + fix documentation errors output 2019-07-31 11:15:34 +02:00
Terrtia 44cf5bb4af
chg: [API v1] add API documentation + update/delete items tags + Flask_tags refractor 2019-07-30 13:49:21 +02:00
Terrtia 6af9514a48
chg: [API] add GET: item metadata + item content + item tags 2019-07-26 15:44:29 +02:00
Terrtia 0a756294fe
chg: [API] import item (text) 2019-07-26 14:28:02 +02:00
Terrtia 3a8531cafa
chg: [API + import] add API format + item_import refractor 2019-07-25 17:26:32 +02:00
Terrtia 653cb4a209
chg: [misp_modules] parse modules result 2019-07-24 15:51:06 +02:00
Terrtia 09ecc4d93f
chg: [Crawler] add default crawler config + update default user_agent 2019-07-24 10:18:10 +02:00
Terrtia 6295560216
chg: [misp_modules] add enrichment request 2019-07-23 17:09:29 +02:00
Terrtia 8cbfec51f6
chg: [misp_modules] create misp modules + generate config 2019-07-23 16:44:02 +02:00
Terrtia 26a4c7fd2c
fix: [Crawler] incorrect config 2019-07-10 09:42:20 +02:00
Terrtia 34786d54db
Merge branch 'master' into user_management 2019-07-02 14:12:28 +02:00
Terrtia bd0da210e7
fix: [helper dump_crawler] fix files not found 2019-06-26 11:51:26 +02:00
Terrtia 06ab66ff57
fix: [helper dump_crawler] fix empty dict 2019-06-26 11:42:19 +02:00
Terrtia 5377369032
chg: [helper] dump crawler history by daterange 2019-06-26 11:29:28 +02:00
Terrtia 87c5e0f9ee
Merge branch 'master' into user_management 2019-06-24 16:06:08 +02:00
Terrtia 3943b3ed9a
fix: [Update] add default update script 2019-06-24 15:51:42 +02:00
Terrtia 03ed3c63a1
chg: [helper] generate self signed certificates 2019-06-24 14:41:54 +02:00
Terrtia bb65179e50
fix: [user_management] fix tokens duplicate + check user_acl_integrity + add login errors messages 2019-06-20 15:49:40 +02:00
Terrtia 6eec0aabfe
Merge branch 'master' into user_management 2019-06-19 15:11:44 +02:00
Terrtia 34e57fe7af
chg: [user_managemant] clean code + check password and email length 2019-06-19 15:00:25 +02:00
Terrtia e65f465f02
fix: [TheHive feeder] create_alert: push all items tags
TODO check items status + add more item metadata
2019-06-19 10:42:36 +02:00
Terrtia 42d32ef310
fix: [domain history] fix domain status 2019-06-18 11:19:56 +02:00
Terrtia e1bf59aded
chg: [UI crawler, show_domain] add domain history list + navigation 2019-06-18 10:58:37 +02:00
Terrtia 2b6cb86d55
fix: [PgpDump] catch UnicodeDecodeError error 2019-06-12 10:33:40 +02:00
Terrtia b4f06c21f9
chg: [backend crawler] domains: download 1 archive by crawled (most recent) 2019-06-07 13:47:44 +02:00
Terrtia 3fe9d14e9f
chg: [user_management] create default admin user (temp passwd save in AIL_HOME) + change password UI + logout UI + create random password 2019-06-06 21:27:13 +02:00
Terrtia 99e35c51ec
Merge branch 'master' into user_management 2019-06-05 16:59:36 +02:00
Terrtia 17af705231
fix: [PgpDump] process large pgp blocks 2019-06-05 16:20:26 +02:00
Alexandre Dulaunoy fae3530fec
chg: [PgpDump] PMF fix - longer keys are truncated
TODO: Need to be updated by an async process handling the keys
2019-05-24 14:10:06 +02:00
Terrtia 4b0a7210b8
Merge branch 'master' of https://github.com/CIRCL/AIL-framework 2019-05-24 13:27:44 +02:00
Terrtia eb9c81acef
chg: [correlation] clean files 2019-05-24 13:08:10 +02:00
Terrtia 4794cafe01
chg: [correlation] add cryptocurrency + refractor correlation 2019-05-24 12:02:43 +02:00
Terrtia ff23a2bce2
chg: [Bitcoin] map cryptocurrency: bitcoin (DB pivot) 2019-05-21 16:14:09 +02:00
Terrtia da5579875d
chg: [pgpdump] reprocess tagged items + fix pgpdump 2019-05-20 14:32:07 +02:00
Terrtia 49f7429c5f
chg: [Update] force update order 2019-05-20 13:02:09 +02:00
Terrtia 9639a51abd
chg: [PgpDump] fix graph + add new tags: pgp-signature pgp-public-key-block + avoid keys injection in pgp user_id 2019-05-20 11:57:49 +02:00
Thirion Aurélien 9c6a1ea8ec
Merge pull request #349 from kovacsbalu/fix-paste-encoding
Fix #314
2019-05-16 14:30:33 +02:00
kovacsbalu f61d830678 Use default encoding error from redis. 2019-05-16 14:24:03 +02:00
kovacsbalu 7765ab92e0 Hopp, single quote :) 2019-05-15 10:00:51 +02:00
kovacsbalu 6092f482e6 Fix crawler rotation
Before this, crawler processed prioritized onions and after all starts prioritized regular.
2019-05-15 09:57:18 +02:00
Terrtia 6480744641
chg: [PgpDump] add PgpDump backend
TODO: UI
2019-05-14 17:49:31 +02:00
kovacsbalu 05079c143c Fix #314
Replace char on redis encoding error.
Try to use local file on other error.
2019-05-14 16:06:20 +02:00
Terrtia 0389b9c23b
chg: [crawler] manual/auto crawler: always save screenshots 2019-05-13 14:24:16 +02:00
Terrtia 254441f193
chg: [crawler] manual/auto crawler: always save screenshots 2019-05-13 13:56:43 +02:00
Terrtia 2606220c2b
fix: [faup] fix new return types (bytes to str) 2019-05-06 13:38:13 +02:00
Terrtia a4c03b4ba4
fix: [Crawler] force domains/subdomains lower case (rfc4343) 2019-05-06 11:46:20 +02:00
Terrtia 64ff94ce5f
chg: [user_management] create + check user password 2019-05-03 16:52:05 +02:00
Terrtia 1ab1a55a4f
chg: [UI] add basic user management 2019-05-02 17:31:14 +02:00
Steve Clement 9f65bc3788 chg: [travis] Travis has his own venv where it installs "stuff". Now we detect and us it in the launcher. 2019-05-01 21:31:47 +09:00
Terrtia f30befa0eb
fix: [Onion] typo 2019-04-29 11:46:28 +02:00
Terrtia a183695ddb
chg: [crawler UI] bootstrap 4 migration: show domains by daterange + bug fix hidden services tags 2019-04-26 15:14:29 +02:00
Terrtia ff14fe6279
fix: [submit paste] remove item full path, use rel path 2019-04-26 10:22:02 +02:00
Terrtia 3e6fbc8f79
fix: [paste submit] update broken endpoint + get item date 2019-04-26 10:04:07 +02:00
Terrtia 3207949c5f
fix: [update v1.5] create update config file 2019-04-25 17:17:12 +02:00
Terrtia 41e6b4ec59
fix: [v1.5 background update screenshot] remove duplicate files 2019-04-25 14:39:38 +02:00
Terrtia 499c07a93e
fix: [update v1.5] remove unbuffer 2019-04-25 14:21:02 +02:00
Terrtia fc2c1422ff
fix: [Crawler] unpack_url 2019-04-25 13:54:06 +02:00
Terrtia 50944b1d61
fix: [LAUNCH] fix typo 2019-04-24 16:37:44 +02:00
Terrtia e6dca7f8bf
chg: [update v1.5] add background update: screenshots_crawled 2019-04-24 16:19:35 +02:00
Terrtia 9868833c77
chg: [crawled screenshot] use sha256 as filepath 2019-04-24 14:09:04 +02:00
Terrtia 99b9c95638
fix: [update] fix is_fork check 2019-04-23 15:30:47 +02:00
Terrtia 35c188829f
chg: [config update] refractor, auto update, create config if file doesnt exist 2019-04-23 15:04:45 +02:00
Terrtia 2a1cd4a009
chg: [Onion, crawler config] auto crawler: add config by url, fix onions tagging + filter subdomains 2019-04-23 11:15:34 +02:00
Terrtia 6fdf7c2123
chg: [UI crawler] status/remove auto crawler 2019-04-18 16:57:51 +02:00
Terrtia ddaad5db93
chg: [v1.5 background update] create update stats 2019-04-17 17:07:09 +02:00
Terrtia 4bff603d4f
chg: [settings UI] add background update progress 2019-04-17 14:39:29 +02:00
Terrtia 68077316eb
chg: [git directory] add git helper 2019-04-16 17:26:35 +02:00
Terrtia 3b11df7f90
chg: [UI] add server Management, check if new update/version are available + background update status + link to new realease/commits 2019-04-16 17:24:59 +02:00
Terrtia a3167a740a
fix: [Update DB] remove indexErrors 2019-04-12 17:32:17 +02:00
Terrtia bf92a2f22f
fix: [background update] avoid multiple update on the same key 2019-04-12 16:07:40 +02:00
Terrtia f2dc3bcbf4
fix: [Global] remove absolute path from item path 2019-04-12 15:13:36 +02:00
Terrtia 3a8631d44a
chg: [Update + Launcher] use background update + add new options in launcher 2019-04-12 15:06:24 +02:00
Terrtia 5c4db5f2f1
chg: [update] add update script Redis ARDB + add background update 2019-04-11 17:49:20 +02:00
Terrtia 3cc614a1ad
chg: [DB] update items tags metadata 2019-04-11 11:58:06 +02:00
Terrtia d44acea04d
chg: [merge] merge update into advanced_crawler 2019-04-10 16:41:06 +02:00
Terrtia 2589fc2161
chg: [merge] merge master into update branche 2019-04-10 15:43:15 +02:00
Terrtia b4bee29a33
Merge branch 'master' into advanced_crawler 2019-04-10 15:37:42 +02:00
Terrtia f6d7d2ae16
chg: [Update] add debug 2019-04-02 09:46:04 +02:00
Thirion Aurélien 976b97bcd1
Merge pull request #338 from CIRCL/pre_update
Merge Pre update
2019-03-26 16:51:26 +01:00
Terrtia 044933aa33
chg: [Launch] remove old launchers 2019-03-26 16:47:10 +01:00
Terrtia cee2b2486f
chg: [Launch] remove old launchers 2019-03-26 16:45:01 +01:00
Terrtia 59664efe45
Merge branch 'master' into advanced_crawler 2019-03-26 16:03:42 +01:00
Terrtia 5165a5de2f
fix: [Crawler] fix index + redis history key 2019-03-22 17:14:27 +01:00
Terrtia f64c385343
chg: [Crawler] handle port: crawling + history 2019-03-22 16:48:07 +01:00
Terrtia f4cdddbc7f
chg: [UI + item submit] remove browse paste from UI + fix pasteSubmit tagging 2019-03-21 11:50:53 +01:00
Terrtia c2bc72c72e
chg: [Tags alertHandler] remove alertHandler + add quick tag search sidebar + use tag last_seen to display tagged items 2019-03-21 11:11:53 +01:00
Terrtia a9e86231ad
chg: [Tags] add backend, daterange selector 2019-03-20 13:25:02 +01:00
Terrtia 65e6eae00d
chg: [UI preview items] b4 migration + new template + better display + decrease item loading time + add basic animation/transition 2019-03-19 13:34:41 +01:00
Terrtia 23d9cb2265
chg: [UI Tags search] bootstrap 4 migration 2019-03-14 17:04:55 +01:00
Alexandre Dulaunoy 85d2ea578c
Merge pull request #335 from 5thColumn/docker
Add docker-compose support
2019-03-13 21:38:12 +01:00
Jason Hedden 23fb91d326 Add docker-compose support
This commit separates the AIL Framework services into individual Docker
containers that can be managed with docker-compose. It's intended to ease the
installation, development and troubleshooting procedures for all-in-one
deployments.

No changes to architecture or base code are required in this commit.

Changes to existing files:
.gitignore
  * Ignore pystemon archive directory

Dockerfile:
  * Add AIL shell environment variables
  * Install pystemon and crawler pip requirements into AIL virtual environment

Docker-compose notes:
  * All containers are participating in a service network `network_mode:
  service:flask`.  This allows the containers to share the same IP namespace
  to accommodate hard-coded localhost entries.
  * By default persistent data is saved to the following directories in the
  local AIL framework git directory: PASTES, HASHS, CRAWLED_SCREENSHOTS,
  pystemon/archives

This was tested with docker-ce on Ubuntu 16.04 and MacOS. A typical deployment
would look like:
```
git clone https://github.com/CIRCL/AIL-framework.git
cd AIL-framework
cp bin/packages/config.cfg.docker-compose-sample bin/packages/config.cfg
	(optionally enable activate_crawler in config.cfg)
docker-compose build
docker-compose up -d
```
2019-03-11 19:46:34 -05:00
Terrtia d3b3942ad7
chg: [Flask UI] refractor crawler frontend + show crawled domain 2019-03-06 15:05:58 +01:00
Terrtia c0d72e7d2a
chg: [Crawler UI] Crawler major refractor (end) + basic UI for manual crawler 2019-02-26 14:50:48 +01:00
Terrtia 7b32d7f34e
chg: [Crawler] major refractor 2019-02-25 16:38:50 +01:00
Jason Hedden 9eae25bdf5 Fix current_selected amount and action vars
This commit fixes issue #268

```
  File "./bin/ModulesInformationV2.py", line 319, in _setValue
    action = current_selected_action + " " + str(current_selected_amount) + "x"
```

`current_selected_action` was defined twice. The second occurance should be `current_selected_amount`.

This also fixes the generic exception from failing when `current_selected_value` is not defined.
2019-02-22 12:39:27 -06:00
Terrtia 60f7645ac1
chg: [Crawler] refractor 2019-02-22 17:00:24 +01:00
Terrtia 3d36ddbc1e
fix: [CVE] fix stat regex 2019-02-21 10:51:05 +01:00
Terrtia 1114aa2ffd
chg: [CVE] add stat script 2019-02-21 09:58:10 +01:00
Terrtia e5dca268a8
chg: [Crawler] refractor 2019-02-21 09:54:43 +01:00
Terrtia da78d0552d
chg: [Crawler UI Tags] add tag by day + add crawler status + UI onion blacklist 2019-02-19 11:41:45 +01:00
Terrtia 6a8fa3d5d1
chg: [Tags] tags by day 2019-02-18 14:33:34 +01:00
Terrtia 709d5487b8
fix: [Onion] filter too many subdomain 2019-02-13 16:53:38 +01:00
Terrtia b87707e8bc
fix: [Crawler] typo 2019-02-12 15:54:42 +01:00
Terrtia 37276e52a3
fix: [Crawler] typo 2019-02-12 15:53:40 +01:00
Terrtia 7cb03fc769
fix: [Crawler] typo 2019-02-12 15:51:19 +01:00
Terrtia 7a4989ce10
fix: [Global Crawler] max filename size 2019-02-12 15:45:58 +01:00
Terrtia c2885589cf
chg: [UI] basic navbar + sidebar + refractor 2019-02-07 17:22:44 +01:00
Terrtia 516238025f
chg: [Crawler] add bootsrap4 src + refractor crawler 2019-02-05 17:16:44 +01:00
Thirion Aurélien 44c513dcbb
chg: [Crawler] add onion to blacklist 2019-01-31 16:56:45 +01:00
Xavier Mertens 43d08d0d3e Cleanup 2019-01-30 22:36:10 +01:00
Xavier Mertens 1be91b88bf Fix: reset alarm timeout 2019-01-30 22:30:07 +01:00
Xavier Mertens 0372a78704 Merge remote-tracking branch 'upstream/master' 2019-01-30 22:27:44 +01:00
Xavier Mertens b099e2ae4a Update LAUNCH.sh 2019-01-30 22:27:33 +01:00
Terrtia 92d192238b
fix: [Crawler] change max page crawled 2019-01-29 17:04:45 +01:00
Terrtia 6c7086f4eb
fix: [Crawler] first_seen 2019-01-29 16:54:39 +01:00
Terrtia ad04cf7bb2
fix: [Onion] typo 2019-01-29 16:27:12 +01:00
Terrtia 88eaaeae93
chg: [Crawler] add priority queue, fix #263 2019-01-29 16:08:59 +01:00
Terrtia c1b34bd99c
fix: [Crawler] limit max crawled pages 2019-01-29 15:38:00 +01:00
Terrtia 64ffdd52e8
fix: [Onion] loop 2019-01-29 14:39:57 +01:00
Terrtia 2dc0eca4a9
fix: [Crawler] fix crawler cache info 2019-01-29 12:09:19 +01:00
Terrtia bb301a870c
fix: [Crawler] fix onion blacklist + add crawler info 2019-01-29 12:00:14 +01:00
Terrtia 535f44044d
fix: [Onion] add timeout signal 2019-01-29 09:46:03 +01:00
Thirion Aurélien f4ba21e492
blacklist onion debian manpages 2019-01-14 11:08:53 +01:00
raggadhub 74c726d5fa
fix path_to_send path
Hi,

Missing slash between pastes_directory and paste in path_to_send = pastes_directory+paste 

path error example:
/opt/AIL-framework/PASTESarchive/pastebin.com_pro/2019/01/07/cAgqsY2U.gz
2019-01-09 13:15:58 +01:00
Terrtia b3b75ccbea
fix: [Crawler] Restart Splash on failure, limit unbound in memory cache (maxrss) 2019-01-04 15:51:08 +01:00