Commit graph

774 commits

Author SHA1 Message Date
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
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
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
Terrtia
6ee4b7bf93
Merge branch 'master' into update 2018-12-19 15:23:34 +01:00
Terrtia
ca47764836
fix: [update v1.5] 2018-12-19 15:16:52 +01:00
Terrtia
198ee97d90
chg: [update 1.5] add update bash 2018-12-19 11:41:01 +01:00
Terrtia
2560260ce4
Merge branch 'master' into pre_update 2018-12-19 10:01:52 +01:00
Terrtia
4d04333f54
fix: [Splash server] add debug output 2018-12-19 09:30:24 +01:00
Terrtia
f842194c57
fix: [Crawler] retry when splash is not available 2018-12-17 16:04:12 +01:00
Terrtia
4e08aaa80f
chg: [UI Crawled Domains] show crawled domains by date range (options: domains tags, up domains, down domains)
todo: Shows domain history
2018-12-17 15:58:48 +01:00
Steve Clement
b60fd55efe chg: [bash] Small PATH precedence issue. 2018-11-22 16:16:31 +09:00
Steve Clement
f82c899e7b fix: [bash] fixed log_subscriber path 2018-11-22 15:48:12 +09:00
Steve Clement
88e561aa20 chg: [bash] Replace '' with "" 2018-11-22 15:41:45 +09:00
Steve Clement
33bc23a297 fix: [bash] evoking bash -c and splitting vars in this fashion wants to be changed in future revisions. 2018-11-22 15:22:35 +09:00
Steve Clement
6522cffd57 chg: [doc] Added note that redis-server is bundled during install 2018-11-22 15:10:57 +09:00
Steve Clement
41a34b3519 fix: [bash] As we instantiate from a subdirectory, we need to take this into account. 2018-11-22 15:08:59 +09:00
Steve Clement
e4ced241eb chg: [python] Added necessary checks in LAUNCH.sh to be able to launch the script without doing bin/activate
chg: [doc] Added correct pystemon path
fix: [zmq] Small ZMQ test fix.
fix: [doc] Moved the print statement in feeder so it is less verbose but still useful
2018-11-22 14:57:24 +09:00
Terrtia
31a8dfe0b3
fix: [AIL] use only relative paths
pastes duplicates are fixed on the fly
2018-11-21 16:45:25 +01:00
Terrtia
cb41c54135
fix: [lib_refine] add dns configuration 2018-11-21 08:49:58 +01:00
Terrtia
4e680aabf0
chg: [Overview] add doc 2018-11-20 14:39:45 +01:00
Terrtia
aaa277b8a0
chg: [Update] add additonal update 2018-11-15 14:26:41 +01:00
Terrtia
f6e86582c8
chg: [Update] generate current version 2018-11-15 13:48:44 +01:00
Terrtia
108fdb868e
chg: update Overview 2018-11-15 10:39:41 +01:00
Terrtia
d9b776d58a
merge master 2018-11-14 15:55:42 +01:00
Terrtia
aed8d65aef
fix: [LAUNCH] add update in helper 2018-11-14 15:17:56 +01:00
Terrtia
912b977bb4
chg: [LAUNCH] update: launch + check BDD 2018-11-13 16:54:39 +01:00
Terrtia
94fcf66d20
fix: [Update] cleaning 2018-11-13 15:52:33 +01:00
Terrtia
347986a271
chg: [LAUNCH] add AIL update by default 2018-11-13 15:45:22 +01:00
Terrtia
7aff45c507
chg [Update] update AIL clone and fork 2018-11-13 14:54:56 +01:00
Terrtia
60ff0b9cf7
chg: [Update] add update script 2018-11-12 17:10:31 +01:00