certsocietegenerale / event2timeline Goto Github PK
View Code? Open in Web Editor NEWSimple Microsoft Windows sessions event logs visualization
License: GNU General Public License v3.0
Simple Microsoft Windows sessions event logs visualization
License: GNU General Public License v3.0
I suppose it is language related, but the JavaScript Console tells me it doesn't understand the u'string' (which seems quite normal).
So the graph doesn't display, since the file containing data is skipped.
To bypass the issue, I imported the JSON library, and changed the writing of 'lanes' and 'items' as follow :
js.write("var lanes = %s,\n" % str(list(x.encode('utf-8') for x in timeline['lanes'])))
...
js.write("items = ")
json.dump(timeline['items'],js)
js.write(",\ntimeBegin = \'%s\',\n" % timeline['time_begin'])
I am not sure it is a correct way to fix the problem, but it does the trick.
I am not sure you didn't abandon the project, but just in case.
Thanks for this great tool, btw.
i see the below error when running the script
python3 event2timeline.py -e -f Security.evtx
File "event2timeline.py", line 51
except Exception, e:
^
SyntaxError: invalid syntax
Data is properly extracted (as best as can be determined; evtdata.js is full of valid looking json). Loading the page in Firefox or Chrome draws the timelines, but no data points are populated...
[] Reading EVTX file /scratch/blah/Security.evtx
0 records read
2000 records read
4000 records read
6000 records read
8000 records read
10000 records read
12000 records read
14000 records read
16000 records read
[] Unique users: 8
[*] Mapped 630 sessions from 2013-02-19 20:15:56 to 2015-08-10 04:00:10
Is there anything special I need to do to get it to understand the EVTX files from Win7 machine? Installed dependencies, all looks well but when I run it, I get this:
/event2timeline-master$ python event2timeline.py -e -f evt.evtx
[*] Reading EVTX file evt.evtx
0 records read
[*] Unique users: 5
[*] Mapped 38 sessions from 2012-11-07 21:36:06 to 2015-03-13 16:18:07
It creates evtdata.js in /timeline folder but nothing else. Am I missing something obvious?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.