├── analyzer
└── darwin
│ ├── lib
│ ├── macamal
│ │ ├── __init__.py
│ │ ├── common.py
│ │ └── macamal.py
│ ├── common
│ │ ├── __init__.py
│ │ ├── abstracts.py
│ │ ├── rand.py
│ │ ├── exceptions.py
│ │ ├── hashing.py
│ │ ├── config.py
│ │ └── results.py
│ ├── api
│ │ ├── __init__.py
│ │ └── screenshot.py
│ └── core
│ │ ├── constants.py
│ │ ├── osx.py
│ │ ├── filetimes.py
│ │ ├── data
│ │ └── types.yml
│ │ └── packages.py
│ ├── modules
│ ├── auxiliary
│ │ ├── agree.png
│ │ ├── close.png
│ │ ├── continue.jpg
│ │ ├── continue.png
│ │ ├── install.png
│ │ ├── human2.py
│ │ └── screenshots.py
│ └── packages
│ │ ├── bash.py
│ │ ├── python.py
│ │ ├── app.py
│ │ ├── macho.py
│ │ ├── doc.py
│ │ ├── generic.py
│ │ ├── perl.py
│ │ ├── jar.py
│ │ ├── dmg.py
│ │ └── zip.py
│ └── analyzer.py
├── modules
├── __init__.pyc
├── machinery
│ ├── vmware.pyc
│ ├── __init__.pyc
│ ├── virtualbox.pyc
│ ├── __init__.py
│ ├── kvm.py
│ └── esx.py
├── __init__.py
├── processing
│ └── platform
│ │ └── __init__.py
└── auxiliary
│ └── sniffer.py
├── web
└── templates
│ ├── standalone_error.html
│ ├── analysis
│ ├── behavior
│ │ ├── index.html
│ │ ├── _tree.html
│ │ ├── _tree_process.html
│ │ ├── _chunk.html
│ │ ├── _search.html
│ │ ├── _api_call.html
│ │ ├── _search_results.html
│ │ └── _processes.html
│ ├── static
│ │ ├── _strings.html
│ │ ├── _irma.html
│ │ ├── _pdf.html
│ │ ├── index.html
│ │ ├── _antivirus.html
│ │ ├── _office.html
│ │ └── _pe32.html
│ ├── overview
│ │ ├── _url.html
│ │ ├── _screenshots.html
│ │ ├── index.html
│ │ ├── _file.html
│ │ ├── _signatures.html
│ │ └── _info.html
│ ├── network
│ │ ├── _irc.html
│ │ ├── _icmp.html
│ │ ├── _hosts.html
│ │ ├── _snort.html
│ │ ├── _udp.html
│ │ ├── _http.html
│ │ ├── _suricata.html
│ │ ├── _dns.html
│ │ ├── _tcp.html
│ │ └── index.html
│ ├── memory
│ │ ├── _yarascan.html
│ │ ├── _callbacks.html
│ │ ├── _malfind.html
│ │ ├── _apihooks.html
│ │ ├── _devicetree.html
│ │ ├── _modscan.html
│ │ ├── _sockscan.html
│ │ ├── _idt.html
│ │ ├── _timers.html
│ │ ├── _netscan.html
│ │ ├── _ssdt.html
│ │ ├── _pslist.html
│ │ ├── _gdt.html
│ │ ├── _messagehooks.html
│ │ ├── _svcscan.html
│ │ └── index.html
│ ├── admin
│ │ └── index.html
│ ├── search.html
│ ├── misp
│ │ └── index.html
│ ├── search_results.html
│ ├── pending.html
│ ├── procmemory
│ │ └── index.html
│ ├── import.html
│ ├── buffers
│ │ └── index.html
│ ├── export.html
│ ├── dropped
│ │ └── index.html
│ ├── report.html
│ └── index.html
│ ├── error.html
│ ├── base.html
│ ├── success.html
│ ├── submission
│ ├── reboot.html
│ ├── complete.html
│ └── status.html
│ ├── footer.html
│ ├── compare
│ ├── hash.html
│ ├── _summary_table.html
│ ├── _info.html
│ ├── left.html
│ └── both.html
│ ├── dashboard
│ └── index.html
│ └── header.html
├── LICENSE
└── README.md
/analyzer/darwin/lib/macamal/__init__.py:
--------------------------------------------------------------------------------
1 | #Pham
--------------------------------------------------------------------------------
/modules/__init__.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/modules/__init__.pyc
--------------------------------------------------------------------------------
/web/templates/standalone_error.html:
--------------------------------------------------------------------------------
1 |
ERROR :-(
{{error}}
2 |
--------------------------------------------------------------------------------
/modules/machinery/vmware.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/modules/machinery/vmware.pyc
--------------------------------------------------------------------------------
/modules/machinery/__init__.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/modules/machinery/__init__.pyc
--------------------------------------------------------------------------------
/modules/machinery/virtualbox.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/modules/machinery/virtualbox.pyc
--------------------------------------------------------------------------------
/analyzer/darwin/modules/auxiliary/agree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/analyzer/darwin/modules/auxiliary/agree.png
--------------------------------------------------------------------------------
/analyzer/darwin/modules/auxiliary/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/analyzer/darwin/modules/auxiliary/close.png
--------------------------------------------------------------------------------
/analyzer/darwin/modules/auxiliary/continue.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/analyzer/darwin/modules/auxiliary/continue.jpg
--------------------------------------------------------------------------------
/analyzer/darwin/modules/auxiliary/continue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/analyzer/darwin/modules/auxiliary/continue.png
--------------------------------------------------------------------------------
/analyzer/darwin/modules/auxiliary/install.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phdphuc/mac-a-mal-cuckoo/HEAD/analyzer/darwin/modules/auxiliary/install.png
--------------------------------------------------------------------------------
/web/templates/analysis/behavior/index.html:
--------------------------------------------------------------------------------
1 | {% include "analysis/behavior/_tree.html" %}
2 |
3 | {% include "analysis/behavior/_processes.html" %}
--------------------------------------------------------------------------------
/web/templates/error.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% load staticfiles %}
3 | {% block content %}
4 | ERROR :-(
{{error}}
5 | {% endblock %}
6 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/common/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2014-2016 Cuckoo Foundation.
2 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
3 | # See the file 'docs/LICENSE' for copying permission.
4 |
--------------------------------------------------------------------------------
/modules/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
--------------------------------------------------------------------------------
/web/templates/analysis/behavior/_tree.html:
--------------------------------------------------------------------------------
1 | Process Tree
2 |
3 | {% for process in analysis.behavior.processtree|filter_key_if_has:"track" %}
4 | {% include "analysis/behavior/_tree_process.html" %}
5 | {% endfor %}
6 |
7 |
--------------------------------------------------------------------------------
/modules/machinery/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/api/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
--------------------------------------------------------------------------------
/modules/processing/platform/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
--------------------------------------------------------------------------------
/web/templates/analysis/static/_strings.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% for string in analysis.strings %}
4 |
{{string}}
5 | {% endfor %}
6 |
7 |
--------------------------------------------------------------------------------
/web/templates/base.html:
--------------------------------------------------------------------------------
1 | {%include "header.html" %}
2 |
3 | {% autoescape on %}
4 | {% block content %}{% endblock %}
5 | {% endautoescape %}
6 |
7 | {%include "footer.html" %}
8 |
--------------------------------------------------------------------------------
/web/templates/success.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% load staticfiles %}
3 | {% block content %}
4 | 
5 | Great! :-)
{{message}}
6 | {% endblock %}
7 |
--------------------------------------------------------------------------------
/web/templates/submission/reboot.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% load staticfiles %}
3 | {% block content %}
4 |
8 | {% endblock %}
9 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/common/abstracts.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
6 | class Auxiliary(object):
7 | def __init__(self, options={}, analyzer=None):
8 | self.options = options
9 | self.analyzer = analyzer
10 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/common/rand.py:
--------------------------------------------------------------------------------
1 | import random
2 | import string
3 |
4 | def random_string(minimum, maximum=None):
5 | if maximum is None:
6 | maximum = minimum
7 |
8 | count = random.randint(minimum, maximum)
9 | return "".join(random.choice(string.ascii_letters) for x in xrange(count))
10 |
11 | def random_integer(digits):
12 | start = 10 ** (digits - 1)
13 | end = (10 ** digits) - 1
14 | return random.randint(start, end)
15 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/bash.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2015 Dmitry Rodionov
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from lib.core.packages import Package
7 |
8 | class Bash(Package):
9 | """ Bash shell script analysys package. """
10 |
11 | def prepare(self):
12 | self.args = [self.target] + self.args
13 | self.target = "/bin/bash"
14 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/python.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from lib.core.packages import Package
7 |
8 | class Python(Package):
9 | """ Python script analysis package. """
10 |
11 | def prepare(self):
12 | self.args = [self.target] + self.args
13 | self.target = "/usr/bin/python"
14 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/common/exceptions.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
6 | class CuckooError(Exception):
7 | pass
8 |
9 | class CuckooPackageError(Exception):
10 | pass
11 |
12 | class CuckooDisableModule(CuckooError):
13 | """Exception for disabling a module dynamically."""
14 |
--------------------------------------------------------------------------------
/modules/machinery/kvm.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2010-2013 Claudio Guarnieri.
2 | # Copyright (C) 2014-2016 Cuckoo Foundation.
3 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
4 | # See the file 'docs/LICENSE' for copying permission.
5 |
6 | from lib.cuckoo.common.abstracts import LibVirtMachinery
7 |
8 | class KVM(LibVirtMachinery):
9 | """Virtualization layer for KVM based on python-libvirt."""
10 |
11 | # Set KVM connection string.
12 | dsn = "qemu:///system"
13 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/app.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system, path
7 | from lib.core.packages import Package
8 | from plistlib import readPlist
9 |
10 |
11 | class App(Package):
12 | """ OS X application analysis package. """
13 |
14 | def prepare(self):
15 | system("/bin/chmod -R +x \"%s\"" % self.target)
16 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/macho.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2015 Dmitry Rodionov
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system
7 | from lib.core.packages import Package
8 |
9 | class Macho(Package):
10 | """ Mach-O executable analysys package. """
11 |
12 | def prepare(self):
13 | # Make sure that our target is executable
14 | system("/bin/chmod -R +x \"%s\"" % self.target)
15 |
--------------------------------------------------------------------------------
/web/templates/analysis/overview/_url.html:
--------------------------------------------------------------------------------
1 |
2 | URL Details
3 |
4 |
5 |
6 |
7 | | URL |
8 |
9 |
10 |
11 |
12 | | {{analysis.target.url}} |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/doc.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system
7 | from lib.core.packages import Package
8 |
9 | class Doc(Package):
10 | """ Mach-O executable analysys package. """
11 |
12 | def prepare(self):
13 | # Make sure that our target is executable
14 | # /usr/bin/open will handle it
15 | system("/bin/chmod +x \"%s\"" % self.target)
16 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/generic.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system
7 | from lib.core.packages import Package
8 |
9 | class Generic(Package):
10 | """ Generic analysis package. """
11 |
12 | def prepare(self):
13 | # Make sure that our target is executable
14 | # /usr/bin/open will handle it
15 | system("/bin/chmod +x \"%s\"" % self.target)
16 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/perl.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system
7 | from lib.core.packages import Package
8 |
9 | class Perl(Package):
10 | """ Mach-O executable analysys package. """
11 |
12 | def prepare(self):
13 | # Make sure that our target is executable
14 | # /usr/bin/open will handle it
15 | system("/bin/chmod +x \"%s\"" % self.target)
16 |
--------------------------------------------------------------------------------
/web/templates/analysis/behavior/_tree_process.html:
--------------------------------------------------------------------------------
1 |
2 | {{process.process_name}} ({{process.pid}})
3 | {{ process.command_line }}
4 | {% if process.children %}
5 |
6 | {% for child in process.children %}
7 | {% with process=child template_name="analysis/behavior/_tree_process.html" %}
8 | {% include template_name %}
9 | {% endwith %}
10 | {% endfor %}
11 |
12 | {% endif %}
13 |
14 |
--------------------------------------------------------------------------------
/web/templates/submission/complete.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% load staticfiles %}
3 | {% block content %}
4 | Submission complete!
5 | The following tasks were added successfully:
6 | {% for task in tasks %}
7 |
{{task}}
8 | {% endfor %}.
9 |
10 | Click on the links to monitor the status of the submission:
11 | {% for task in tasks %}
12 |
{{ baseurl }}{% url "submission.views.status" task %}
13 | {% endfor %}
14 |
15 | {% endblock %}
16 |
--------------------------------------------------------------------------------
/analyzer/darwin/modules/packages/jar.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2018 phdphuc
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from lib.core.packages import Package
7 |
8 | class Jar(Package):
9 | """Java analysis package."""
10 |
11 | def prepare(self):
12 | class_path = self.options.get("class")
13 | if class_path:
14 | args = ["-cp", self.target, class_path]
15 | else:
16 | args = ["-jar", self.target]
17 | self.args = args + self.args
18 | self.target = "/usr/bin/java"
--------------------------------------------------------------------------------
/web/templates/analysis/network/_irc.html:
--------------------------------------------------------------------------------
1 | IRC traffic
2 | {% if analysis.network.irc %}
3 |
4 |
5 | | Command |
6 | Params |
7 | Type |
8 |
9 | {% for irc in analysis.network.irc %}
10 |
11 | | {{irc.command}} |
12 | {{irc.params}} |
13 | {{irc.type}} |
14 |
15 | {% endfor %}
16 |
17 | {% else %}
18 | No IRC requests performed.
19 | {% endif %}
--------------------------------------------------------------------------------
/web/templates/analysis/overview/_screenshots.html:
--------------------------------------------------------------------------------
1 |
2 | Screenshots
3 | {% if analysis.shots %}
4 |
5 | {% for shot in analysis.shots %}
6 |
7 |
8 |
9 | {% endfor %}
10 |
11 | {% else %}
12 | No screenshots available.
13 | {% endif %}
14 |
15 |
--------------------------------------------------------------------------------
/web/templates/submission/status.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 | {% load staticfiles %}
3 | {% block content %}
4 |
5 |
6 |
Hang on...
7 |
The analysis is not completed yet, it's still {{status}}. This page will refresh every 5 seconds.
8 |
11 |
12 | {% endblock %}
13 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/common/hashing.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2014-2016 Cuckoo Foundation.
2 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
3 | # See the file 'docs/LICENSE' for copying permission.
4 |
5 | BUFSIZE = 1024*1024
6 |
7 |
8 | def hash_file(method, path):
9 | """Calculates an hash on a file by path.
10 | @param method: callable hashing method
11 | @param path: file path
12 | @return: computed hash string
13 | """
14 | f = open(path, "rb")
15 | h = method()
16 | while True:
17 | buf = f.read(BUFSIZE)
18 | if not buf:
19 | break
20 | h.update(buf)
21 | return h.hexdigest()
22 |
--------------------------------------------------------------------------------
/web/templates/analysis/memory/_yarascan.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | | Owner |
5 | Rule |
6 | Hexdump |
7 |
8 |
9 |
10 | {% for row in analysis.memory.yarascan.data|volsort %}
11 |
12 | | {{row.owner}} |
13 | {{row.rule}} |
14 | {{row.hexdump}} |
15 |
16 | {% endfor %}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/analyzer/darwin/lib/core/constants.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2014-2016 Cuckoo Foundation.
2 | # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
3 | # See the file 'docs/LICENSE' for copying permission.
4 |
5 | import os
6 | from tempfile import gettempdir
7 | from ..common.rand import random_string
8 |
9 | ROOT = os.path.join(gettempdir() + os.sep, random_string(6, 10))
10 |
11 | PATHS = {
12 | "root" : ROOT,
13 | "logs" : os.path.join(ROOT, "logs"),
14 | "files" : os.path.join(ROOT, "files"),
15 | "shots" : os.path.join(ROOT, "shots"),
16 | "memory" : os.path.join(ROOT, "memory"),
17 | "drop" : os.path.join(ROOT, "drop")
18 | }
19 |
--------------------------------------------------------------------------------
/web/templates/analysis/behavior/_chunk.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | | Time & API |
5 | Arguments |
6 | Status |
7 | Return |
8 | Repeated |
9 | UID |
10 |
11 |
12 |
13 | {% for call in chunk.calls %}
14 |
15 | {% include "analysis/behavior/_api_call.html" %}
16 |
17 | {% endfor %}
18 |
19 |
20 |
--------------------------------------------------------------------------------
/web/templates/analysis/admin/index.html:
--------------------------------------------------------------------------------
1 | {% load analysis_tags %}
2 |
3 |
4 |
5 | | Task ID |
6 | {{analysis.info.id}} |
7 |
8 |
9 | | Mongo ID |
10 | {{analysis|mongo_id}} |
11 |
12 |
13 | | Cuckoo release |
14 | {{analysis.info.version}} |
15 |
16 |
17 | |
18 | Delete |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/web/templates/analysis/memory/_callbacks.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | | Type |
5 | Callback |
6 | Module |
7 | Details |
8 |
9 |
10 |
11 | {% for row in analysis.memory.callbacks.data|volsort %}
12 |
13 | | {{row.type}} |
14 | {{row.callback}} |
15 | {{row.module}} |
16 | {{row.details}} |
17 |
18 | {% endfor %}
19 |
20 |
21 |
--------------------------------------------------------------------------------
/web/templates/analysis/memory/_malfind.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | | PID |
5 | Process Name |
6 | Start |
7 | Tag |
8 |
9 |
10 |
11 | {% for row in analysis.memory.malfind.data|volsort %}
12 |
13 | | {{row.process_id}} |
14 | {{row.process_name}} |
15 | {{row.vad_start}} |
16 | {{row.vad_tag}} |
17 |
18 | {% endfor %}
19 |
20 |
21 |
--------------------------------------------------------------------------------
/web/templates/analysis/network/_icmp.html:
--------------------------------------------------------------------------------
1 | ICMP traffic
2 | {% if analysis.network.icmp %}
3 |
4 |
5 | | Source |
6 | Destination |
7 | ICMP Type |
8 | Data |
9 |
10 | {% for packet in analysis.network.icmp %}
11 |
12 | | {{packet.src}} |
13 | {{packet.dst}} |
14 | {{packet.type}} |
15 | {{packet.data}} |
16 |
17 | {% endfor %}
18 |
19 | {% else %}
20 | No ICMP traffic performed.
21 | {% endif %}
--------------------------------------------------------------------------------
/analyzer/darwin/lib/core/osx.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # Copyright (C) 2015 Dmitry Rodionov
3 | # This software may be modified and distributed under the terms
4 | # of the MIT license. See the LICENSE file for details.
5 |
6 | from os import system
7 | from datetime import datetime
8 |
9 | def set_wallclock(clock_str, **kwargs):
10 | clock = datetime.strptime(clock_str, "%Y%m%dT%H:%M:%S")
11 | # NOTE: On OS X there's `date` utility that accepts
12 | # new date/time as a string of the folowing format:
13 | # {month}{day}{hour}{minutes}{year}.{seconds}
14 | # where every {x} is a 2 digit number.
15 | cmd = "sudo date {0}".format(clock.strftime("%m%d%H%M%y.%S"))
16 |
17 | if "just_testing" in kwargs:
18 | return cmd
19 | else:
20 | system(cmd)
21 |
--------------------------------------------------------------------------------
/web/templates/footer.html:
--------------------------------------------------------------------------------
1 | {% load staticfiles %}
2 |
4 |
9 |
14 |
15 |
16 |
17 |
18 |