text stringlengths 0 9.3M |
|---|
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
|
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import tempfile
from lib.common.abstracts import Package
class Applet(Package):
"""Java Applet analysis package."""
PATHS = [
("Progr... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class CHM(Package):
"""Chm analysis package."""
PATHS = [
("SystemRo... |
# Copyright (C) 2014 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Chrome(Package):
"""Chrome analysis package."""
PATHS = [
("ProgramFiles"... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Combo(Package... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Combo_dll(Package):
"""CAPE Combo DLL analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Compression(P... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Compression_dll(Package):
"""DLL analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Compression_doc(Package):
"""Word analysis package."""
PATHS = [
("Program... |
# Copyright (C) 2015 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Compression_JS(Package):
"""JavaScript analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Compression_PDF(Package):
"""PDF analysis package."""
PATHS = [
("ProgramFiles", "Adobe... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class CPL(Package):
"""Control Panel Applet analysis package."""
PATHS = [
("SystemRoot", "sy... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Cuckoomon(Pac... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Cuckoomon_dll(Package):
"""DLL analysis package."""
PATHS = [
... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2018 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Debugger(Package):
"""CAPE Debugger a... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2018 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Debugger_dll(Package):
"""CAPE Debugger_DLL analysis package."""... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Debugger_doc(Package):
"""CAPE Word Debugger package."""
def __init__(self, options=... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Dll(Package):
"""DLL analysis package."""
PATHS = [
("SystemRo... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class DOC(Package):
"""Word analysis package."""
PATHS = [
("ProgramFiles", "Micro... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class DOC2016(Package):
"""Word analysis package."""
def __init__(self, options={}, confi... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Doppelganging... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class DumpOnAPI(Pac... |
# Copyright (C) 2010-2015 Cuckoo Foundation., Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class EML(Package):
"""Outlook EML analysis package."""
PATHS ... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2019 Kevin O'Reilly (kevoreilly@gmail.com)
# See the file 'docs/LICENSE' for copying permission.
from __future__ import absolute_import
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Emotet(Package):
"""Emote... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2019 Kevin O'Reilly (kevoreilly@gmail.com)
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Emotet_doc(Package):
"""Word analysis package."""
PATHS = [
("ProgramFiles", "Microsoft Office... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class EvilGrab(Pack... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Exe(Package):... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Extraction(Package):
"""CAPE Extraction analysis package."""
#PATHS = ... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Extraction_dll(Package):
"""CAPE Extraction DLL analysis package."""
P... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Extraction_Jar(Package):
"""Java analysis package."""
PATHS = [
("ProgramFiles", "Java"... |
# Copyright (C) 2015 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Extraction_JS(Package):
"""JavaScript analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Extraction_PDF(Package):
"""PDF analysis package."""
PATHS = [
("ProgramFiles", "Adobe"... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class PS1(Package):
"""PowerShell analysis package."""
PATHS = [
("SystemRoot", "s... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Extraction_Regsvr(Package):
"""CAPE Extraction DLL analysis package."""
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2014 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Firefox(Package):
"""Firefox analysis package."""
PATHS = [
("ProgramFile... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from random import randint
from lib.common.abstracts import Package
class Generic(Package):
"""Generic analysis package.
The sample is starte... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2017 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Hancitor(Package):
"""CAPE Hancitor analysis package."""
de... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Hancitor_Dll(Package):
"""CAPE Hancitor DLL analysis package."""
PATHS... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Hancitor_doc(Package):
"""Word analysis package."""
PATHS = [
("ProgramFiles... |
# Copyright (C) 2016 Brad Spengler
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class HTA(Package):
"""HTA file analysis package."""
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class HTML(Package):
"""HTML file analys... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class IcedID(Packag... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class IE(Package):
"""Internet Explorer analysis package."""
PATHS = [
("ProgramFiles", "Inte... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2017 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class Injection(Package):
"""CAPE Injection... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Injection_dll(Package):
"""DLL analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Injection_doc(Package):
"""Word analysis package."""
PATHS = [
("ProgramFile... |
# Copyright (C) 2015 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Injection_JS(Package):
"""JavaScript analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Injection_PDF(Package):
"""PDF analysis package."""
PATHS = [
("ProgramFiles", "Adobe",... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Injection_PS1(Package):
"""PowerShell analysis package."""
PATHS = [
("Syste... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Jar(Package):
"""Java analysis package."""
PATHS = [
("ProgramFiles", "Java", "jre*", "... |
# Copyright (C) 2015 Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class JS(Package):
"""JavaScript analysis package."""
PATHS = [
("Sy... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class MHT(Package):
"""MHT file analysis... |
# Copyright (C) 2010-2015 Cuckoo Foundation., Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class MSG(Package):
"""Outlook MSG analysis package."""
PATHS ... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Msi(Package):
"""MSI analysis package."""
PATHS = [
("SystemRoot", "system32", "msiexe... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class PDF(Package):
"""PDF analysis package."""
PATHS = [
("ProgramFiles", "Adobe", "*a*", "R... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
from subprocess import call
from lib.common.abstracts import Package
log ... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class PlugXPayload(Package):
"... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class PlugX_dll(Package):
"""DLL analysis package."""
PATHS = [
("Sy... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class PlugX_doc(Package):
"""Word analysis package."""
PATHS = [
("ProgramFiles", "... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class PPT(Package):
"""PowerPoint analysis package."""
PATHS = [
("ProgramFiles", "Microsoft ... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
# Originally proposed by David Maciejak.
class PS1(Package):
"""PowerShell analysis package."... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
# Originally proposed by David Maciejak.
class PS1(Package):
"""PowerShell analysis package."... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
from _winreg import (OpenKey, CreateKeyEx, SetValueEx, CloseKey, QueryInfoKey, EnumKey,
Enu... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Python(Package):
"""Python analysis package."""
PATHS = [
("HomeDrive", "Python*", "py... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2018 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class QakBot(Package):
"""CAPE QakBot analy... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
import re
try:
from rarfile import RarFile,BadRarFile
HAS_RARFILE = True
except ImportError:
HAS_RA... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Regsvr(Package):
"""DLL analysis package."""
PATHS = [
("Syste... |
# This file is part of CAPE Sandbox - https://github.com/ctxis/CAPE
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class SCT(Package):
"""SCT analysis package."""
PATHS = [
("SystemRoot", "system32", "regsvr32.exe"),
]
def start(self,... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2017 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Sedreco(Package):
"""DLL analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Sedreco_dll(Package):
"""DLL analysis package."""
PATHS = [
("... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import sys
from lib.api.process import Process
from lib.common.abstracts import Package
from lib.common.defines import ADVAPI3... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class Shellcode(Package):
"""D... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class Shellcode(Package):
"""D... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class Shellcode_x64(Package):
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class SWF(Package):
"""Shockwave Flash analysis package.
Download a version of standalone flash f... |
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com)
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from subprocess import call
from lib.common.abstracts import Package
class TrickBot(Pack... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class TrickBot_doc(Package):
"""TrickBot package (derived from Dump-on-API)"""
"""Word anal... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class UPX(Package):
"""CAPE UPX analysis package."""
#PATHS = [
# ("S... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class UPX_dll(Package):
"""CAPE UPX DLL analysis package."""
PATHS = [
... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2017 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
from lib.common.abstracts import Package
class Ursnif(Package):
"""Ursnif config extraction package."""
PAT... |
# CAPE - Config And Payload Extraction
# Copyright(C) 2015-2018 Context Information Security. (kevin.oreilly@contextis.com)
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class Ursnif_doc(Package):
"""Ursnif document analysis package."""
PATHS = [
... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
# Originally proposed by kidrek:
# https://github.com/cuckoobox/cuckoo/pull/136
class VBS(Package... |
# Copyright (C) 2016 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import logging
import os
from lib.common.abstracts import Package
log = logging.getLogger(__name__)
class WSF(Package):
"""Windows Scripting File ana... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
from lib.common.abstracts import Package
class XLS(Package):
"""Excel analysis package."""
PATHS = [
("ProgramFiles", "Micr... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.common.abstracts import Package
class Xps(Package):
"""XPS analysis package."""
PATHS = [
("SystemRoot", "system32", "xpsrc... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import shutil
import logging
try:
import re2 as re
except ImportError:
import re
from zipfile import ZipFile, BadZipfile
from lib.... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
|
# -*- coding: utf-8 -*-
#
# Cuckoo Sandbox documentation build configuration file.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
|
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
|
#encoding: utf-8
# Copyright (C) 2010-2015 Cuckoo Foundation, Optiv, Inc. (brad.spengler@optiv.com).
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from __future__ import absolute_import
import os
import json
import socket
import dns.resolver
... |
import os
import sys
import imp
import logging
import tempfile
import hashlib
import subprocess
from collections import Mapping, Iterable
from lib.cuckoo.common.constants import CUCKOO_ROOT
from lib.cuckoo.common.objects import CAPE_YARA_RULEPATH, File
log = logging.getLogger(__name__)
pe_map = {
"PE32+": ": 64-... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import sys
def color(text, color_code):
"""Colorize text.
@param text: text.
@param color_code: color.
@return: colorized te... |
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import zlib
import json
import collections
from lib.cuckoo.common.config import Config
repconf = Config("reporting")
def behavior_categories_percent... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.