A forum for reverse engineering, OS internals and malware analysis 

Forum for analysis and discussion about malware.
 #29183  by tim
 Tue Sep 06, 2016 8:30 am
Cerber contains a JSON config that is encrypted in the unpacked binary. Full config here - http://pastebin.com/VdtR9kaE
Code: Select all
{
  "blacklist": {
    "files": [
      "bootsect.bak",
      "iconcache.db",
      "ntuser.dat",
      "thumbs.db"
    ],
    "folders": [
      ":\\$recycle.bin\\",
      ":\\$windows.~bt\\",
      ":\\boot\\",
      ":\\documents and settings\\all users\\",
      ":\\documents and settings\\default user\\",
      ":\\documents and settings\\localservice\\",
      ":\\documents and settings\\networkservice\\",
      ":\\program files\\",
      ":\\program files (x86)\\",
      ":\\programdata\\",
      ":\\recovery\\",
      ":\\recycler\\",
      ":\\users\\all users\\",
      ":\\windows\\",
      ":\\windows.old\\",
      "\\appdata\\local\\",
      "\\appdata\\locallow\\",
      "\\appdata\\roaming\\adobe\\flash player\\",
      "\\appData\\roaming\\apple computer\\safari\\",
      "\\appdata\\roaming\\ati\\",
      "\\appdata\\roaming\\intel\\",
      "\\appdata\\roaming\\intel corporation\\",
      "\\appdata\\roaming\\google\\",
      "\\appdata\\roaming\\macromedia\\flash player\\",
      "\\appdata\\roaming\\mozilla\\",
      "\\appdata\\roaming\\nvidia\\",
      "\\appdata\\roaming\\opera\\",
      "\\appdata\\roaming\\opera software\\",
      "\\appdata\\roaming\\microsoft\\internet explorer\\",
      "\\appdata\\roaming\\microsoft\\windows\\",
      "\\application data\\microsoft\\",
      "\\local settings\\",
      "\\public\\music\\sample music\\",
      "\\public\\pictures\\sample pictures\\",
      "\\public\\videos\\sample videos\\",
      "\\tor browser\\"
    ],
    "languages": [
      1049,
      1058,
      1059,
      1064,
      1067,
      1068,
      1079,
      1087,
      1088,
      1090,
      1091,
      1092,
      2072,
      2073,
      2092,
      2115
    ]
  },
  "check": {
    "language": 1
  },
  "debug": 0,
  "default": {
    "site_1": "onion.to",
    "site_2": "onion.cab",
    "site_3": "onion.nu",
    "site_4": "onion.link",
    "site_5": "tor2web.org",
    "tor": "6liso4fbnupevqsn"
  },
  "encrypt": {
    "bytes_skip": 512,
    "encrypt": 1,
    "files": [
      [
        ".accdb",
        ".mdb",
        ".mdf",
        ".dbf",
        ".vpd",
        ".sdf",
        ".sqlitedb",
        ".sqlite3",
        ".sqlite",
        ".sql",
        ".sdb",
        ".doc",
        ".docx",
        ".odt",
        ".xls",
        ".xlsx",
        ".ods",
        ".ppt",
        ".pptx",
        ".odp",
        ".pst",
        ".dbx",
        ".wab",
        ".tbk",
        ".pps",
        ".ppsx",
        ".pdf",
        ".jpg",
        ".tif",
        ".pub",
        ".one",
        ".rtf",
        ".csv",
        ".docm",
        ".xlsm",
        ".pptm",
        ".ppsm",
        ".xlsb",
        ".dot",
        ".dotx",
        ".dotm",
        ".xlt",
        ".xltx",
        ".xltm",
        ".pot",
        ".potx",
        ".potm",
        ".xps",
        ".wps",
        ".xla",
        ".xlam",
        ".erbsql",
        ".sqlite-shm",
        ".sqlite-wal",
        ".litesql",
        ".ndf",
        ".ost",
        ".pab",
        ".oab",
        ".contact",
        ".jnt",
        ".mapimail",
        ".msg",
        ".prf",
        ".rar",
        ".txt",
        ".xml",
        ".zip",
        ".1cd",
        ".3ds",
        ".3g2",
        ".3gp",
        ".7z",
        ".7zip",
        ".aoi",
        ".asf",
        ".asp",
        ".aspx",
        ".asx",
        ".avi",
        ".bak",
        ".cer",
        ".cfg",
        ".class",
        ".config",
        ".css",
        ".dds",
        ".dwg",
        ".dxf",
        ".flf",
        ".flv",
        ".html",
        ".idx",
        ".js",
        ".key",
        ".kwm",
        ".laccdb",
        ".ldf",
        ".lit",
        ".m3u",
        ".mbx",
        ".md",
        ".mid",
        ".mlb",
        ".mov",
        ".mp3",
        ".mp4",
        ".mpg",
        ".obj",
        ".pages",
        ".php",
        ".psd",
        ".pwm",
        ".rm",
        ".safe",
        ".sav",
        ".save",
        ".srt",
        ".swf",
        ".thm",
        ".vob",
        ".wav",
        ".wma",
        ".wmv",
        ".3dm",
        ".aac",
        ".ai",
        ".arw",
        ".c",
        ".cdr",
        ".cls",
        ".cpi",
        ".cpp",
        ".cs",
        ".db3",
        ".drw",
        ".dxb",
        ".eps",
        ".fla",
        ".flac",
        ".fxg",
        ".java",
        ".m",
        ".m4v",
        ".max",
        ".pcd",
        ".pct",
        ".pl",
        ".ppam",
        ".ps",
        ".pspimage",
        ".r3d",
        ".rw2",
        ".sldm",
        ".sldx",
        ".svg",
        ".tga",
        ".xlm",
        ".xlr",
        ".xlw",
        ".act",
        ".adp",
        ".al",
        ".bkp",
        ".blend",
        ".cdf",
        ".cdx",
        ".cgm",
        ".cr2",
        ".crt",
        ".dac",
        ".dcr",
        ".ddd",
        ".design",
        ".dtd",
        ".fdb",
        ".fff",
        ".fpx",
        ".h",
        ".iif",
        ".indd",
        ".jpeg",
        ".mos",
        ".nd",
        ".nsd",
        ".nsf",
        ".nsg",
        ".nsh",
        ".odc",
        ".oil",
        ".pas",
        ".pat",
        ".pef",
        ".pfx",
        ".ptx",
        ".qbb",
        ".qbm",
        ".sas7bdat",
        ".say",
        ".st4",
        ".st6",
        ".stc",
        ".sxc",
        ".sxw",
        ".tlg",
        ".wad",
        ".xlk",
        ".aiff",
        ".bin",
        ".bmp",
        ".cmt",
        ".dat",
        ".dit",
        ".edb",
        ".flvv",
        ".gif",
        ".groups",
        ".hdd",
        ".hpp",
        ".m2ts",
        ".m4p",
        ".mkv",
        ".mpeg",
        ".nvram",
        ".ogg",
        ".pdb",
        ".pif",
        ".png",
        ".qed",
        ".qcow",
        ".qcow2",
        ".rvt",
        ".st7",
        ".stm",
        ".vbox",
        ".vdi",
        ".vhd",
        ".vhdx",
        ".vmdk",
        ".vmsd",
        ".vmx",
        ".vmxf",
        ".3fr",
        ".3pr",
        ".ab4",
        ".accde",
        ".accdr",
        ".accdt",
        ".ach",
        ".acr",
        ".adb",
        ".ads",
        ".agdl",
        ".ait",
        ".apj",
        ".asm",
        ".awg",
        ".back",
        ".backup",
        ".backupdb",
        ".bank",
        ".bay",
        ".bdb",
        ".bgt",
        ".bik",
        ".bpw",
        ".cdr3",
        ".cdr4",
        ".cdr5",
        ".cdr6",
        ".cdrw",
        ".ce1",
        ".ce2",
        ".cib",
        ".craw",
        ".crw",
        ".csh",
        ".csl",
        ".db_journal",
        ".dc2",
        ".dcs",
        ".ddoc",
        ".ddrw",
        ".der",
        ".des",
        ".dgc",
        ".djvu",
        ".dng",
        ".drf",
        ".dxg",
        ".eml",
        ".erf",
        ".exf",
        ".ffd",
        ".fh",
        ".fhd",
        ".gray",
        ".grey",
        ".gry",
        ".hbk",
        ".ibank",
        ".ibd",
        ".ibz",
        ".iiq",
        ".incpas",
        ".jpe",
        ".kc2",
        ".kdbx",
        ".kdc",
        ".kpdx",
        ".lua",
        ".mdc",
        ".mef",
        ".mfw",
        ".mmw",
        ".mny",
        ".moneywell",
        ".mrw",
        ".myd",
        ".ndd",
        ".nef",
        ".nk2",
        ".nop",
        ".nrw",
        ".ns2",
        ".ns3",
        ".ns4",
        ".nwb",
        ".nx2",
        ".nxl",
        ".nyf",
        ".odb",
        ".odf",
        ".odg",
        ".odm",
        ".orf",
        ".otg",
        ".oth",
        ".otp",
        ".ots",
        ".ott",
        ".p12",
        ".p7b",
        ".p7c",
        ".pdd",
        ".pem",
        ".plus_muhd",
        ".plc",
        ".psafe3",
        ".py",
        ".qba",
        ".qbr",
        ".qbw",
        ".qbx",
        ".qby",
        ".raf",
        ".rat",
        ".raw",
        ".rdb",
        ".rwl",
        ".rwz",
        ".s3db",
        ".sd0",
        ".sda",
        ".sr2",
        ".srf",
        ".srw",
        ".st5",
        ".st8",
        ".std",
        ".sti",
        ".stw",
        ".stx",
        ".sxd",
        ".sxg",
        ".sxi",
        ".sxm",
        ".tex",
        ".wallet",
        ".wb2",
        ".wpd",
        ".x11",
        ".x3f",
        ".xis",
        ".ycbcra",
        ".yuv",
        ".mab",
        ".json",
        ".msf",
        ".jar",
        ".cdb",
        ".srb",
        ".abd",
        ".qtb",
        ".cfn",
        ".info",
        ".info_",
        ".flb",
        ".def",
        ".atb",
        ".tbn",
        ".tbb",
        ".tlx",
        ".pml",
        ".pmo",
        ".pnx",
        ".pnc",
        ".pmi",
        ".pmm",
        ".lck",
        ".pm!",
        ".pmr",
        ".usr",
        ".pnd",
        ".pmj",
        ".pm",
        ".lock",
        ".srs",
        ".pbf",
        ".omg",
        ".wmf",
        ".sh",
        ".war",
        ".ascx",
        ".k2p",
        ".apk",
        ".asset",
        ".bsa",
        ".d3dbsp",
        ".das",
        ".forge",
        ".iwi",
        ".lbf",
        ".litemod",
        ".ltx",
        ".m4a",
        ".re4",
        ".slm",
        ".tiff",
        ".upk",
        ".xxx",
        ".money",
        ".cash",
        ".private",
        ".cry",
        ".vsd",
        ".tax",
        ".gbr",
        ".dgn",
        ".stl",
        ".gho",
        ".ma",
        ".acc",
        ".db"
      ]
    ],
    "max_block_size": 2,
    "max_blocks": 5,
    "min_file_size": 1024,
    "multithread": 1,
    "network": 1,
    "new_extension": ".cerber3",
    "rc4_key_size": 256,
    "rsa_key_size": 880
  },
  "global_public_key": "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF2a3R5NXFocUV5ZFI5MDc2RmV2cAowdU1QN0laTm1zMUFBN0dQUVVUaE1XYllpRVlJaEJLY1QwL253WXJCcTBPZ3Y3OUsxdHRhMDRFSFRyWGdjQXAvCk9KZ0JoejlONThhZXdkNHlaQm0yY29lYURHdmNHUkFjOWU3Mk9iRlEvVE1FL0lvN0xaNXFYRFd6RGFmSThMQTgKSlFtU3owTCsvRytMUFRXZzdrUE9wSlQ3V1NrUmI5VDh3NVFnWlJKdXZ2aEVySE04M2tPM0VMVEgrU29FSTUzcAo0RU5Wd2ZOTkVwT3BucE9PU0tRb2J0SXc1NkNzUUZyaGFjMHNRbE9qZWsvbXVWbHV4amlFbWMwZnN6azJXTFNuCnFyeWlNeXphSTVEV0JEallLWEExdHAyaC95Z2JrWWRGWVJiQUVxd3RMeFQyd01mV1BRSTVPa2hUYTl0WnFEMEgKblFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==",
  "help_files": {
    "files": [
      {
        "file_body": "PCFET0NUWVBFIGh0bWw+DQo8aHRtbCBsYW5nPSJlbiI+DQogICA8aGVhZD4NCiAgICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4NCiAgICAgIDx0aXRsZT4mIzA2NztlcmJlciAmIzA4MjthbnNvbXdhcmU8L3RpdGxlPg0KICAgICAgPHN0eWxlPg0KICAgICAgYSB7DQogICAgICAgICBjb2xvcjogIzQ3YzsNCiAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTsNCiAgICAgIH0NCiAgICAgIGE6aG92ZXIgew0KICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7DQogICAgICB9DQogICAgICBib2R5IHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlN2U3ZTc7DQogICAgICAgICBjb2xvcjogIzMzMzsNCiAgICAgICAgIGZvbnQtZmFtaWx5OiAiSGVsdmV0aWNhIE5ldWUiLCBIZWx2ZXRpY2EsICJTZWdvZSBVSSIsIEFyaWFsLCBmcmVlc2Fucywgc2Fucy1zZXJpZiwgIkFwcGxlIENvbG9yIEVtb2ppIiwgIlNlZ29lIFVJIEVtb2ppIiwgIlNlZ29lIFVJIFN5bWJvbCI7DQogICAgICAgICBmb250LXNpemU6IDE2cHg7DQogICAgICAgICBsaW5lLWhlaWdodDogMS42Ow0KICAgICAgICAgbWFyZ2luOiAwOw0KICAgICAgICAgcGFkZGluZzogMDsNCiAgICAgIH0NCiAgICAgIGhyIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlN2U3ZTc7DQogICAgICAgICBib3JkZXI6IDAgbm9uZTsNCiAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjYzdjN2M3Ow0KICAgICAgICAgaGVpZ2h0OiA1cHg7DQogICAgICAgICBtYXJnaW46IDMwcHggMDsNCiAgICAgIH0NCiAgICAgIGxpIHsNCiAgICAgICAgIHBhZGRpbmc6IDAgMCA3cHggN3B4Ow0KICAgICAgfQ0KICAgICAgb2wgew0KICAgICAgICAgcGFkZGluZy1sZWZ0OiAzZW07DQogICAgICB9DQogICAgICAuY29udGFpbmVyIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7DQogICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYzdjN2M3Ow0KICAgICAgICAgbWFyZ2luOiA0MHB4Ow0KICAgICAgICAgcGFkZGluZzogNDBweCA0MHB4IDIwcHggNDBweDsNCiAgICAgIH0NCiAgICAgIC5pbmZvLCAudG9yIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZmU7DQogICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYmRhOw0KICAgICAgICAgZGlzcGxheTogYmxvY2s7DQogICAgICAgICBwYWRkaW5nOiAwcHggMjBweDsNCiAgICAgIH0NCiAgICAgIC5sb2dvIHsNCiAgICAgICAgIGZvbnQtc2l6ZTogMTJweDsNCiAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkOw0KICAgICAgICAgbGluZS1oZWlnaHQ6IDE7DQogICAgICAgICBtYXJnaW46IDA7DQogICAgICB9DQogICAgICAudXBkX29uIHsNCiAgICAgICAgIGNvbG9yOiByZWQ7DQogICAgICAgICBkaXNwbGF5OiBibG9jazsNCiAgICAgIH0NCiAgICAgIC51cGRfb2ZmIHsNCiAgICAgICAgIGRpc3BsYXk6IG5vbmU7DQogICAgICAgICBmbG9hdDogbGVmdDsNCiAgICAgIH0NCiAgICAgIC50b3Igew0KICAgICAgICAgcGFkZGluZzogMTBweCAwOw0KICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyOw0KICAgICAgfQ0KICAgICAgLnVybCB7DQogICAgICAgICBtYXJnaW4t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eXN0YXRlY2hhbmdlID0gZnVuY3Rpb24oKSB7DQogICAgICAgICAgICAgICBpZiAoeGh0dHAucmVhZHlTdGF0ZSA9PSA0KSB7DQogICAgICAgICAgICAgICAgICBpZiAoeGh0dHAuc3RhdHVzID09IDIwMCkgew0KICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKHhodHRwLnJlc3BvbnNlVGV4dC5yZXBsYWNlKC9bXHMgXSsvZ20sICIiKSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH07DQogICAgICAgICAgICB4aHR0cC5vcGVuKCJHRVQiLCB1cmwgKyAnP189JyArIG5ldyBEYXRlKCkuZ2V0VGltZSgpLCB0cnVlKTsNCiAgICAgICAgICAgIHhodHRwLnNlbmQoKTsNCiAgICAgICAgIH0NCiAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgfQ0KICAgICAgfQ0KICAgICAgZnVuY3Rpb24gc2VydmVyMShhZGRyZXNzLCBjYWxsYmFjaykgew0KICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2J0Yy5ibG9ja3IuaW8vYXBpL3YxL2FkZHJlc3MvdHhzLyIgKyBhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICB2YXIgdHggPSAvInR4IjoiKFtcd10rKSIsInRpbWVfdXRjIjoiW1x3LTpdKyIsImNvbmZpcm1hdGlvbnMiOltcZF0rLCJhbW91bnQiOi0vLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2J0Yy5ibG9ja3IuaW8vYXBpL3YxL3R4L2luZm8vIiArIHR4WzFdLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICAgICB2YXIgYWRkcmVzcyA9IC8idm91dHMiOlxbeyJhZGRyZXNzIjoiKFtcd10rKSIvLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZGRyZXNzKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soYWRkcmVzc1sxXSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgfSk7DQogICAgICB9DQogICAgICBmdW5jdGlvbiBzZXJ2ZXIyKGFkZHJlc3MsIGNhbGxiYWNrKSB7DQogICAgICAgICBnZXRVcmxDb250ZW50KCJodHRwOi8vYXBpLmJsb2NrY3lwaGVyLmNvbS92MS9idGMvbWFpbi9hZGRycy8iICsgYWRkcmVzcywgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgdmFyIHR4ID0gLyJ0eF9oYXNoIjoiKFtcd10rKSIsImJsb2NrX2hlaWdodCI6W1xkXSssInR4X2lucHV0X24iOltcZC1dKywidHhfb3V0cHV0X24iOi0vLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2FwaS5ibG9ja2N5cGhlci5jb20vdjEvYnRjL21haW4vdHhzLyIgKyB0eFsxXSwgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFkZHJlc3MgPSAvIm91dHB1dHMiOlxbeyJ2YWx1ZSI6W1xkXSssInNjcmlwdCI6Iltcd10rIiwic3BlbnRfYnkiOiJbXHddKyIsImFkZHJlc3NlcyI6XFsiKFtcd10rKSIvLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZGRyZXNzKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soYWRkcmVzc1sxXSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgfSk7DQogICAgICB9DQogICAgICBmdW5jdGlvbiBzZXJ2ZXIzKGFkZHJlc3MsIGNhbGxiYWNrKSB7DQogICAgICAgICBnZXRVcmxDb250ZW50KCJodHRwczovL2NoYWluLnNvL2FwaS92Mi9nZXRfdHhfc3BlbnQvYnRjLyIgKyBhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICB2YXIgdHhzID0gcmVzdWx0Lm1hdGNoKC8idHhpZCI6IihbXHddKykiL2cpOw0KICAgICAgICAgICAgICAgaWYgKHR4cykgew0KICAgICAgICAgICAgICAgICAgdmFyIHR4ID0gLyJ0eGlkIjoiKFtcd10rKSIvLmV4ZWModHhzLnBvcCgpKTsNCiAgICAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cHM6Ly9jaGFpbi5zby9hcGkvdjIvZ2V0X3R4X291dHB1dHMvYnRjLyIgKyB0eFsxXSwgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFkZHJlc3MgPSAvImFkZHJlc3MiOiIoW1x3XSspIi8uZXhlYyhyZXN1bHQpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFkZHJlc3MpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhhZGRyZXNzWzFdLCBudWxsKTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2sobnVsbCwgdHJ1ZSk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2sobnVsbCwgdHJ1ZSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgIH0pOw0KICAgICAgfQ0KICAgICAgZnVuY3Rpb24gY2hhbmdlVXJsKGFkZHJlc3MpIHsNCiAgICAgICAgIHZhciBkb21haW4gPSAiLnRvcCI7DQogICAgICAgICB2YXIgaWQgPSAie1BD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HJlc3MgPSAiMTdnZDFtc3A1Rm5NY0VNRjFNaXRUTlNzWXM3dzdBUXlDdCI7DQogICAgICAgICAgICBzZXJ2ZXIxKGFkZHJlc3MsIGZ1bmN0aW9uKHJlc3VsdCwgZXJyb3IpIHsNCiAgICAgICAgICAgICAgIGlmICghZXJyb3IpIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjaGFuZ2VVcmwocmVzdWx0KTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgc2VydmVyMihhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2hhbmdlVXJsKHJlc3VsdCk7DQogICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHNlcnZlcjMoYWRkcmVzcywgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNoYW5nZVVybChyZXN1bHQpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMTsgaSA8PSA0OyBpKyspIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1cmxfJyArIGkpLnN0eWxlLmRpc3BsYXkgPSAnaW5saW5lJzsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1cGRfJyArIGkpLmNsYXNzTmFtZSA9ICd1cGRfb2ZmJzsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9KTsNCiAgICAgICAgIH0sIDUwMCk7DQogICAgICB9DQogICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgdXBkYXRlVXJsKCk7DQogICAgICB9LCA1MDApOw0KICAgICAgPC9zY3JpcHQ+DQogICA8L2JvZHk+DQo8L2h0bWw+",
        "file_extension": ".html",
        "base64": 1
      },
      {
        "file_body": "ICANCiAgDQogIENfRV9SX0JfRV9SICAgUl9BX05fU19PX01fV19BX1JfRQ0KICANCiAgDQogICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMNCiAgDQogIA0KICBDYW5ub3QgeW91IGZpbmQgdGhlIGZpbGVzIHlvdSBuZWVkPw0KICBJcyB0aGUgY29udGVudCBvZiB0aGUgZmlsZXMgdGhhdCB5b3UgbG9va2VkIGZvciBub3QgcmVhZGFibGU/Pz8NCiAgDQogIEl0IGlzIG5vcm1hbCBiZWNhdXNlIHRoZSBmaWxlcycgbmFtZXMsIGFzIHdlbGwgYXMgdGhlIGRhdGEgaW4geW91ciBmaWxlcw0KICBoYXZlIGJlZW4gZW5jcnlwdGVkLg0KICANCiAgR3JlYXQhDQogIFlvdSBoYXZlIHR1cm5lZCB0byBiZSBhIHBhcnQgb2YgYSBiaWcgY29tbXVuaXR5ICIjQ2VyYjNyIFJhbnNvbXdhcmUiLg0KICANCiAgDQogICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy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YXQgdGhlIHdvcnN0IHNpdHVhdGlvbiBhbHJlYWR5IGhhcHBlbmVkIGFuZCBub3cgaXQgZGVwZW5kcyBvbg0KICB5b3VyIGRldGVybWluYXRpb24gYW5kIHNwZWVkIG9mIHlvdXIgYWN0aW9ucyB0aGUgZnVydGhlciBsaWZlIG9mDQogIHlvdXIgZmlsZXMuDQogIA0KICA=",
        "file_extension": ".txt",
        "base64": 1
      },
      {
        "file_body": "W0ludGVybmV0U2hvcnRjdXRdDQpVUkw9aHR0cDovL3tUT1J9LntTSVRFXzF9L3tQQ19JRH0/YXV0bw0K",
        "file_extension": ".url",
        "base64": 1
      }
    ],
    "files_name": "# HELP DECRYPT #",
    "run_by_the_end": 1
  },
  "remove_shadows": 1,
  "self_deleting": 1,
  "servers": {
    "statistics": {
      "data_finish": "{MD5_KEY}",
      "data_start": "{MD5_KEY}{PARTNER_ID}{OS}{IS_X64}{IS_ADMIN}{COUNT_FILES}{STOP_REASON}",
      "ip": "31.184.234.0/23",
      "knock": "hi{PARTNER_ID}",
      "port": 6892,
      "send_stat": 1,
      "timeout": 255
    }
  },
  "speaker": {
    "speak": 1,
    "text": [
      {
        "repeat": 1,
        "text": "Attention! Attention! Attention!"
      },
      {
        "repeat": 5,
        "text": "Your documents, photos, databases and other important files have been encrypted!"
      }
    ]
  },
  "wallpaper": {
    "change_wallpaper": 1,
    "background": 0,
    "color": 65280,
    "size": 13,
    "text": " Your documents, photos, databases and other important files \r\n have been encrypted! \r\n\r\n If you understand all importance of the situation then we propose to you \r\n to go directly to your personal page where you will receive the complete \r\n instructions and guarantees to restore your files. \r\n\r\n There is a list of temporary addresses to go on your personal page below: \r\n\r\n ---------------------------------------------------------------------- \r\n\r\n 1.  http://{TOR}.{SITE_1}/{PC_ID} \r\n\r\n 2.  http://{TOR}.{SITE_2}/{PC_ID} \r\n\r\n 3.  http://{TOR}.{SITE_3}/{PC_ID} \r\n\r\n 4.  http://{TOR}.{SITE_4}/{PC_ID} \r\n\r\n 5.  http://{TOR}.{SITE_5}/{PC_ID} \r\n\r\n 6.  http://{TOR}.onion/{PC_ID} (TOR) "
  },
  "whitelist": {
    "folders": [
      ":\\documents and settings\\all users\\documents\\",
      "\\appdata\\roaming\\microsoft\\office\\",
      "\\excel\\",
      "\\microsoft sql server\\",
      "\\onenote\\",
      "\\outlook\\",
      "\\powerpoint\\",
      "\\steam\\",
      "\\the bat!\\",
      "\\thunderbird\\"
    ]
  }
}
 #29224  by syntx
 Wed Sep 14, 2016 2:25 pm
waffles2.0 wrote:Looks like there has been a large increase in Cerber since cerber3 came out. Anyone got any recent sample (last few days)?

https://twitter.com/MalwareTechBlog/sta ... 6988222465

EDIT: Also it seems Cerber has changed its ransom message file name to @__README__@.txt
From Antelox (https://twitter.com/antelox/status/776056354586947584). Attached sample + unpacked
Config:
Code: Select all
{	"blacklist": {		"files": ["bootsect.bak", "iconcache.db", "ntuser.dat", "thumbs.db"],		"folders": [":\\$recycle.bin\\", ":\\$windows.~bt\\", ":\\boot\\", ":\\documents and settings\\all users\\", ":\\documents and settings\\default user\\", ":\\documents and settings\\localservice\\", ":\\documents and settings\\networkservice\\", ":\\program files\\", ":\\program files (x86)\\", ":\\programdata\\", ":\\recovery\\", ":\\recycler\\", ":\\users\\all users\\", ":\\windows\\", ":\\windows.old\\", "\\appdata\\local\\", "\\appdata\\locallow\\", "\\appdata\\roaming\\adobe\\flash player\\", "\\appData\\roaming\\apple computer\\safari\\", "\\appdata\\roaming\\ati\\", "\\appdata\\roaming\\intel\\", "\\appdata\\roaming\\intel corporation\\", "\\appdata\\roaming\\google\\", "\\appdata\\roaming\\macromedia\\flash player\\", "\\appdata\\roaming\\mozilla\\", "\\appdata\\roaming\\nvidia\\", "\\appdata\\roaming\\opera\\", "\\appdata\\roaming\\opera software\\", "\\appdata\\roaming\\microsoft\\internet explorer\\", "\\appdata\\roaming\\microsoft\\windows\\", "\\application data\\microsoft\\", "\\local settings\\", "\\public\\music\\sample music\\", "\\public\\pictures\\sample pictures\\", "\\public\\videos\\sample videos\\", "\\tor browser\\"],		"languages": [1049, 1058, 1059, 1064, 1067, 1068, 1079, 1087, 1088, 1090, 1091, 1092, 2072, 2073, 2092, 2115]	},	"check": {		"language": 1	},	"debug": 0,	"default": {		"site_1": "onion.to",		"site_2": "onion.cab",		"site_3": "onion.nu",		"site_4": "onion.link",		"site_5": "tor2web.org",		"tor": "6liso4fbnupevqsn"	},	"encrypt": {		"bytes_skip": 512,		"encrypt": 1,		"files": [			[".accdb", ".mdb", ".mdf", ".dbf", ".vpd", ".sdf", ".sqlitedb", ".sqlite3", ".sqlite", ".sql", ".sdb", ".doc", ".docx", ".odt", ".xls", ".xlsx", ".ods", ".ppt", ".pptx", ".odp", ".pst", ".dbx", ".wab", ".tbk", ".pps", ".ppsx", ".pdf", ".jpg", ".tif", ".pub", ".one", ".rtf", ".csv", ".docm", ".xlsm", ".pptm", ".ppsm", ".xlsb", ".dot", ".dotx", ".dotm", ".xlt", ".xltx", ".xltm", ".pot", ".potx", ".potm", ".xps", ".wps", ".xla", ".xlam", ".erbsql", ".sqlite-shm", ".sqlite-wal", ".litesql", ".ndf", ".ost", ".pab", ".oab", ".contact", ".jnt", ".mapimail", ".msg", ".prf", ".rar", ".txt", ".xml", ".zip", ".1cd", ".3ds", ".3g2", ".3gp", ".7z", ".7zip", ".aoi", ".asf", ".asp", ".aspx", ".asx", ".avi", ".bak", ".cer", ".cfg", ".class", ".config", ".css", ".dds", ".dwg", ".dxf", ".flf", ".flv", ".html", ".idx", ".js", ".key", ".kwm", ".laccdb", ".ldf", ".lit", ".m3u", ".mbx", ".md", ".mid", ".mlb", ".mov", ".mp3", ".mp4", ".mpg", ".obj", ".pages", ".php", ".psd", ".pwm", ".rm", ".safe", ".sav", ".save", ".srt", ".swf", ".thm", ".vob", ".wav", ".wma", ".wmv", ".3dm", ".aac", ".ai", ".arw", ".c", ".cdr", ".cls", ".cpi", ".cpp", ".cs", ".db3", ".drw", ".dxb", ".eps", ".fla", ".flac", ".fxg", ".java", ".m", ".m4v", ".max", ".pcd", ".pct", ".pl", ".ppam", ".ps", ".pspimage", ".r3d", ".rw2", ".sldm", ".sldx", ".svg", ".tga", ".xlm", ".xlr", ".xlw", ".act", ".adp", ".al", ".bkp", ".blend", ".cdf", ".cdx", ".cgm", ".cr2", ".crt", ".dac", ".dcr", ".ddd", ".design", ".dtd", ".fdb", ".fff", ".fpx", ".h", ".iif", ".indd", ".jpeg", ".mos", ".nd", ".nsd", ".nsf", ".nsg", ".nsh", ".odc", ".oil", ".pas", ".pat", ".pef", ".pfx", ".ptx", ".qbb", ".qbm", ".sas7bdat", ".say", ".st4", ".st6", ".stc", ".sxc", ".sxw", ".tlg", ".wad", ".xlk", ".aiff", ".bin", ".bmp", ".cmt", ".dat", ".dit", ".edb", ".flvv", ".gif", ".groups", ".hdd", ".hpp", ".m2ts", ".m4p", ".mkv", ".mpeg", ".nvram", ".ogg", ".pdb", ".pif", ".png", ".qed", ".qcow", ".qcow2", ".rvt", ".st7", ".stm", ".vbox", ".vdi", ".vhd", ".vhdx", ".vmdk", ".vmsd", ".vmx", ".vmxf", ".3fr", ".3pr", ".ab4", ".accde", ".accdr", ".accdt", ".ach", ".acr", ".adb", ".ads", ".agdl", ".ait", ".apj", ".asm", ".awg", ".back", ".backup", ".backupdb", ".bank", ".bay", ".bdb", ".bgt", ".bik", ".bpw", ".cdr3", ".cdr4", ".cdr5", ".cdr6", ".cdrw", ".ce1", ".ce2", ".cib", ".craw", ".crw", ".csh", ".csl", ".db_journal", ".dc2", ".dcs", ".ddoc", ".ddrw", ".der", ".des", ".dgc", ".djvu", ".dng", ".drf", ".dxg", ".eml", ".erf", ".exf", ".ffd", ".fh", ".fhd", ".gray", ".grey", ".gry", ".hbk", ".ibank", ".ibd", ".ibz", ".iiq", ".incpas", ".jpe", ".kc2", ".kdbx", ".kdc", ".kpdx", ".lua", ".mdc", ".mef", ".mfw", ".mmw", ".mny", ".moneywell", ".mrw", ".myd", ".ndd", ".nef", ".nk2", ".nop", ".nrw", ".ns2", ".ns3", ".ns4", ".nwb", ".nx2", ".nxl", ".nyf", ".odb", ".odf", ".odg", ".odm", ".orf", ".otg", ".oth", ".otp", ".ots", ".ott", ".p12", ".p7b", ".p7c", ".pdd", ".pem", ".plus_muhd", ".plc", ".psafe3", ".py", ".qba", ".qbr", ".qbw", ".qbx", ".qby", ".raf", ".rat", ".raw", ".rdb", ".rwl", ".rwz", ".s3db", ".sd0", ".sda", ".sr2", ".srf", ".srw", ".st5", ".st8", ".std", ".sti", ".stw", ".stx", ".sxd", ".sxg", ".sxi", ".sxm", ".tex", ".wallet", ".wb2", ".wpd", ".x11", ".x3f", ".xis", ".ycbcra", ".yuv", ".mab", ".json", ".msf", ".jar", ".cdb", ".srb", ".abd", ".qtb", ".cfn", ".info", ".info_", ".flb", ".def", ".atb", ".tbn", ".tbb", ".tlx", ".pml", ".pmo", ".pnx", ".pnc", ".pmi", ".pmm", ".lck", ".pm!", ".pmr", ".usr", ".pnd", ".pmj", ".pm", ".lock", ".srs", ".pbf", ".omg", ".wmf", ".sh", ".war", ".ascx", ".k2p", ".apk", ".asset", ".bsa", ".d3dbsp", ".das", ".forge", ".iwi", ".lbf", ".litemod", ".ltx", ".m4a", ".re4", ".slm", ".tiff", ".upk", ".xxx", ".money", ".cash", ".private", ".cry", ".vsd", ".tax", ".gbr", ".dgn", ".stl", ".gho", ".ma", ".acc", ".db"]		],		"max_block_size": 2,		"max_blocks": 5,		"min_file_size": 1024,		"multithread": 1,		"network": 1,		"new_extension": ".cerber3",		"rc4_key_size": 256,		"rsa_key_size": 880	},	"global_public_key": "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF2a3R5NXFocUV5ZFI5MDc2RmV2cAowdU1QN0laTm1zMUFBN0dQUVVUaE1XYllpRVlJaEJLY1QwL253WXJCcTBPZ3Y3OUsxdHRhMDRFSFRyWGdj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WJvbCI7DQogICAgICAgICBmb250LXNpemU6IDE2cHg7DQogICAgICAgICBsaW5lLWhlaWdodDogMS42Ow0KICAgICAgICAgbWFyZ2luOiAwOw0KICAgICAgICAgcGFkZGluZzogMDsNCiAgICAgIH0NCiAgICAgIGhyIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlN2U3ZTc7DQogICAgICAgICBib3JkZXI6IDAgbm9uZTsNCiAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjYzdjN2M3Ow0KICAgICAgICAgaGVpZ2h0OiA1cHg7DQogICAgICAgICBtYXJnaW46IDMwcHggMDsNCiAgICAgIH0NCiAgICAgIGxpIHsNCiAgICAgICAgIHBhZGRpbmc6IDAgMCA3cHggN3B4Ow0KICAgICAgfQ0KICAgICAgb2wgew0KICAgICAgICAgcGFkZGluZy1sZWZ0OiAzZW07DQogICAgICB9DQogICAgICAuY29udGFpbmVyIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7DQogICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYzdjN2M3Ow0KICAgICAgICAgbWFyZ2luOiA0MHB4Ow0KICAgICAgICAgcGFkZGluZzogNDBweCA0MHB4IDIwcHggNDBweDsNCiAgICAgIH0NCiAgICAgIC5pbmZvLCAudG9yIHsNCiAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZmU7DQogICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjYmRhOw0KICAgICAgICAgZGlzcGxheTogYmxvY2s7DQogICAgICAgICBwYWRkaW5nOiAwcHggMjBweDsNCiAgICAgIH0NCiAgICAgIC5sb2dvIHsNCiAgICAgICAgIGZvbnQtc2l6ZTogMTJweDsNCiAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkOw0KICAgICAgICAgbGluZS1oZWlnaHQ6IDE7DQogICAgICAgICBtYXJnaW46IDA7DQogICAgICB9DQogICAgICAudXBkX29uIHsNCiAgICAgICAgIGNvbG9y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AgICAgICAgIGNhdGNoKGVycm9yKSB7DQogICAgICAgICAgICAgICByZXR1cm4gbnVsbDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgIH0NCiAgICAgIH0NCiAgICAgIGZ1bmN0aW9uIGdldFVybENvbnRlbnQodXJsLCBjYWxsYmFjaykgew0KICAgICAgICAgdmFyIHhodHRwID0gZ2V0WE1MSHR0cFJlcXVlc3QoKTsNCiAgICAgICAgIGlmICh4aHR0cCkgew0KICAgICAgICAgICAgeGh0dHAub25yZWFkeXN0YXRlY2hhbmdlID0gZnVuY3Rpb24oKSB7DQogICAgICAgICAgICAgICBpZiAoeGh0dHAucmVhZHlTdGF0ZSA9PSA0KSB7DQogICAgICAgICAgICAgICAgICBpZiAoeGh0dHAuc3RhdHVzID09IDIwMCkgew0KICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKHhodHRwLnJlc3BvbnNlVGV4dC5yZXBsYWNlKC9bXHMgXSsvZ20sICIiKSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH07DQogICAgICAgICAgICB4aHR0cC5vcGVuKCJHRVQiLCB1cmwgKyAnP189JyArIG5ldyBEYXRlKCkuZ2V0VGltZSgpLCB0cnVlKTsNCiAgICAgICAgICAgIHhodHRwLnNlbmQoKTsNCiAgICAgICAgIH0NCiAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgfQ0KICAgICAgfQ0KICAgICAgZnVuY3Rpb24gc2VydmVyMShhZGRyZXNzLCBjYWxsYmFjaykgew0KICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2J0Yy5ibG9ja3IuaW8vYXBpL3YxL2FkZHJlc3MvdHhzLyIgKyBhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICB2YXIgdHggPSAvInR4IjoiKFtcd10rKSIsInRpbWVfdXRjIjoiW1x3LTpdKyIsImNvbmZpcm1hdGlvbnMiOltcZF0rLCJhbW91bnQiOi0vLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2J0Yy5ibG9ja3IuaW8vYXBpL3YxL3R4L2luZm8vIiArIHR4WzFdLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICAgICB2YXIgYWRkcmVzcyA9IC8idm91dHMiOlxbeyJhZGRyZXNzIjoiKFtcd10rKSIvLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZGRyZXNzKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soYWRkcmVzc1sxXSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgfSk7DQogICAgICB9DQogICAgICBmdW5jdGlvbiBzZXJ2ZXIyKGFkZHJlc3MsIGNhbGxiYWNrKSB7DQogICAgICAgICBnZXRVcmxDb250ZW50KCJodHRwOi8vYXBpLmJsb2NrY3lwaGVyLmNvbS92MS9idGMvbWFpbi9hZGRycy8iICsgYWRkcmVzcywgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgdmFyIHR4ID0gLyJ0eF9oYXNoIjoiKFtcd10rKSIsImJsb2NrX2hlaWdodCI6W1xkXSssInR4X2lucHV0X24iOltcZC1dKywidHhfb3V0cHV0X24iOi0vLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cDovL2FwaS5ibG9ja2N5cGhlci5jb20vdjEvYnRjL21haW4vdHhzLyIgKyB0eFsxXSwgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFkZHJlc3MgPSAvIm91dHB1dHMiOlxbeyJ2YWx1ZSI6W1xkXSssInNjcmlwdCI6Iltcd10rIiwic3BlbnRfYnkiOiJbXHddKyIsImFkZHJlc3NlcyI6XFsiKFtcd10rKSIvLmV4ZWMocmVzdWx0KTsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhZGRyZXNzKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soYWRkcmVzc1sxXSwgbnVsbCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhudWxsLCB0cnVlKTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgfSk7DQogICAgICB9DQogICAgICBmdW5jdGlvbiBzZXJ2ZXIzKGFkZHJlc3MsIGNhbGxiYWNrKSB7DQogICAgICAgICBnZXRVcmxDb250ZW50KCJodHRwczovL2NoYWluLnNvL2FwaS92Mi9nZXRfdHhfc3BlbnQvYnRjLyIgKyBhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICB2YXIgdHhzID0gcmVzdWx0Lm1hdGNoKC8idHhpZCI6IihbXHddKykiL2cpOw0KICAgICAgICAgICAgICAgaWYgKHR4cykgew0KICAgICAgICAgICAgICAgICAgdmFyIHR4ID0gLyJ0eGlkIjoiKFtcd10rKSIvLmV4ZWModHhzLnBvcCgpKTsNCiAgICAgICAgICAgICAgICAgIGlmICh0eCkgew0KICAgICAgICAgICAgICAgICAgICAgZ2V0VXJsQ29udGVudCgiaHR0cHM6Ly9jaGFpbi5zby9hcGkvdjIvZ2V0X3R4X291dHB1dHMvYnRjLyIgKyB0eFsxXSwgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFkZHJlc3MgPSAvImFkZHJlc3MiOiIoW1x3XSspIi8uZXhlYyhyZXN1bHQpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFkZHJlc3MpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjYWxsYmFjayhhZGRyZXNzWzFdLCBudWxsKTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2sobnVsbCwgdHJ1ZSk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKG51bGwsIHRydWUpOw0KICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2sobnVsbCwgdHJ1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sgaSsrKSB7DQogICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgndXJsXycgKyBpKS5zdHlsZS5kaXNwbGF5ID0gJ25vbmUnOw0KICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3VwZF8nICsgaSkuY2xhc3NOYW1lID0gJ3VwZF9vbic7DQogICAgICAgICB9DQogICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgdmFyIGFkZHJlc3MgPSAiMTdnZDFtc3A1Rm5NY0VNRjFNaXRUTlNzWXM3dzdBUXlDdCI7DQogICAgICAgICAgICBzZXJ2ZXIxKGFkZHJlc3MsIGZ1bmN0aW9uKHJlc3VsdCwgZXJyb3IpIHsNCiAgICAgICAgICAgICAgIGlmICghZXJyb3IpIHsNCiAgICAgICAgICAgICAgICAgIHJldHVybiBjaGFuZ2VVcmwocmVzdWx0KTsNCiAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgICAgc2VydmVyMihhZGRyZXNzLCBmdW5jdGlvbihyZXN1bHQsIGVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICBpZiAoIWVycm9yKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2hhbmdlVXJsKHJlc3VsdCk7DQogICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHNlcnZlcjMoYWRkcmVzcywgZnVuY3Rpb24ocmVzdWx0LCBlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlcnJvcikgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNoYW5nZVVybChyZXN1bHQpOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMTsgaSA8PSA0OyBpKyspIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1cmxfJyArIGkpLnN0eWxlLmRpc3BsYXkgPSAnaW5saW5lJzsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1cGRfJyArIGkpLmNsYXNzTmFtZSA9ICd1cGRfb2ZmJzsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9KTsNCiAgICAgICAgIH0sIDUwMCk7DQogICAgICB9DQogICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgdXBkYXRlVXJsKCk7DQogICAgICB9LCA1MDApOw0KICAgICAgPC9zY3JpcHQ+DQogICA8L2JvZHk+DQo8L2h0bWw+",			"file_extension": ".html",			"base64": 1		}, {			"file_body": "ICANCiAgDQogIENfRV9SX0JfRV9SICAgUl9BX05fU19PX01fV19BX1JfRQ0KICANCiAgDQogICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMNCiAgDQogIA0KICBDYW5ub3QgeW91IGZpbmQgdGhlIGZpbGVzIHlvdSBuZWVkPw0KICBJcyB0aGUgY29udGVudCBvZiB0aGUgZmlsZXMgdGhhdCB5b3UgbG9va2VkIGZvciBub3QgcmVhZGFibGU/Pz8NCiAgDQogIEl0IGlzIG5vcm1hbCBiZWNhdXNlIHRoZSBmaWxlcycgbmFtZX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Y29ubmVjdCB3aXRoIHRoZSBidXR0b24gIkNvbm5lY3QiIChpZiB5b3UgdXNlIHRoZSBFbmdsaXNoIHZlcnNpb24pOw0KICANCiAgNy4gIGEgbm9ybWFsIEludGVybmV0IGJyb3dzZXIgd2luZG93IHdpbGwgYmUgb3BlbmVkIGFmdGVyDQogICAgICB0aGUgaW5pdGlhbGl6YXRpb247DQogIA0KICA4LiAgdHlwZSBvciBjb3B5IHRoZSBhZGRyZXNzDQogICAgICAgX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCiAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgIHwgaHR0cDovL3tUT1J9Lm9uaW9uL3tQQ19JRH0gfA0KICAgICAgfF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19ffA0KICANCiAgICAgIGluIHRoaXMgYnJvd3NlciBhZGRyZXNzIGJhcjsNCiAgDQogIDkuICBwcmVzcyBFTlRFUjsNCiAgDQogIDEwLiB0aGUgc2l0ZSBzaG91bGQgYmUgbG9hZGVkOyBpZiBmb3Igc29tZSByZWFzb24gdGhlIHNpdGUgaXMgbm90IGxvYWRpbmcNCiAgICAgIHdhaXQgZm9yIGEgbW9tZW50IGFuZCB0cnkgYWdhaW4uDQogIA0KICBJZiB5b3UgaGF2ZSBhbnkgcHJvYmxlbXMgZHVyaW5nIGluc3RhbGxhdGlvbiBvciBvcGVyYXRpb24gb2YgVG9yIEJyb3dzZXIsDQogIHBsZWFzZSwgdmlzaXQgaHR0cHM6Ly93d3cueW91dHViZS5jb20vIGFuZCB0eXBlIHJlcXVlc3QgaW4gdGhlIHNlYXJjaCBiYXINCiAgImluc3RhbGwgdG9yIGJyb3dzZXIgd2luZG93cyIgYW5kIHlvdSB3aWxsIGZpbmQgYSBsb3Qgb2YgdHJhaW5pbmcgdmlkZW9zD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BkbyBub3QgaGF2ZSBhbnkgaW5zdHJ1Y3Rpb25zIHRvIHJlc3RvcmUNCiAgeW91ciBmaWxlcywgcGxlYXNlLCBjb250YWN0IHlvdXIgYW50aXZpcnVzIHN1cHBvcnQuDQogIA0KICANCiAgIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIw0KICANCiAgDQogIFJlbWVtYmVyIHRoYXQgdGhlIHdvcnN0IHNpdHVhdGlvbiBhbHJlYWR5IGhhcHBlbmVkIGFuZCBub3cgaXQgZGVwZW5kcyBvbg0KICB5b3VyIGRldGVybWluYXRpb24gYW5kIHNwZWVkIG9mIHlvdXIgYWN0aW9ucyB0aGUgZnVydGhlciBsaWZlIG9mDQogIHlvdXIgZmlsZXMuDQogIA0KICA=",			"file_extension": ".txt",			"base64": 1		}, {			"file_body": "W0ludGVybmV0U2hvcnRjdXRdDQpVUkw9aHR0cDovL3tUT1J9LntTSVRFXzF9L3tQQ19JRH0/YXV0bw0K",			"file_extension": ".url",			"base64": 1		}],		"files_name": "@___README___@",		"run_by_the_end": 1	},	"remove_shadows": 1,	"self_deleting": 1,	"servers": {		"statistics": {			"data_finish": "e01ENV9LRVl9",			"data_start": "e01ENV9LRVl9e1BBUlRORVJfSUR9e09TfXtJU19YNjR9e0lTX0FETUlOfXtDT1VOVF9GSUxFU317U1RPUF9SRUFTT059",			"ip": "31.184.234.0/23",			"knock": "aGl7UEFSVE5FUl9JRH0=",			"port": 6892,			"send_stat": 1,			"timeout": 255		}	},	"speaker": {		"speak": 1,		"text": [{			"repeat": 1,			"text": "Attention! Attention! Attention!"		}, {			"repeat": 5,			"text": "Your documents, photos, databases and other important files have been encrypted!"		}]	},	"wallpaper": {		"change_wallpaper": 1,		"background": 0,		"color": 65280,		"size": 13,		"text": " Your documents, photos, databases and other important files \r\n have been encrypted! \r\n\r\n If you understand all importance of the situation then we propose to you \r\n to go directly to your personal page where you will receive the complete \r\n instructions and guarantees to restore your files. \r\n\r\n There is a list of temporary addresses to go on your personal page below: \r\n\r\n ---------------------------------------------------------------------- \r\n\r\n 1.  http://{TOR}.{SITE_1}/{PC_ID} \r\n\r\n 2.  http://{TOR}.{SITE_2}/{PC_ID} \r\n\r\n 3.  http://{TOR}.{SITE_3}/{PC_ID} \r\n\r\n 4.  http://{TOR}.{SITE_4}/{PC_ID} \r\n\r\n 5.  http://{TOR}.{SITE_5}/{PC_ID} \r\n\r\n 6.  http://{TOR}.onion/{PC_ID} (TOR) "	},	"whitelist": {		"folders": [":\\documents and settings\\all users\\documents\\", "\\appdata\\roaming\\microsoft\\office\\", "\\excel\\", "\\microsoft sql server\\", "\\onenote\\", "\\outlook\\", "\\powerpoint\\", "\\steam\\", "\\the bat!\\", "\\thunderbird\\"]	}}
Wonder if Cerber fell in love with base64 recently...
Attachments
(384.06 KiB) Downloaded 100 times
 #29310  by yaniva
 Sat Oct 01, 2016 7:24 pm
Is this UAC bypass method (dll shellcode patching) is well known method ?
Any more malware applies it? Is there any more info that i can read about it plz.
 #29314  by EP_X0FF
 Sun Oct 02, 2016 4:38 am
yaniva wrote:Is this UAC bypass method (dll shellcode patching) is well known method ?
Any more malware applies it? Is there any more info that i can read about it plz.
Yes it is nothing new. H1N1 loader use similar. Nothing interesting here, they just use uacme 10 concept reimplemented in their own way. Key goal of it: prior to Windows 10 th2 you can move autoelevated applications between Windows directories to create artificial circumstances for dll hijack. This was fixed in 10548 Windows TH2 build by disallowing autoelevation not from secured folders.
 #29447  by EP_X0FF
 Tue Oct 18, 2016 7:14 am
ikolor wrote:next ..

https://www.virustotal.com/en/file/b038 ... 474054650/

https://www.virustotal.com/en/file/614b ... 474040484/
coades.exe - Ransom/Cerber
host.exe - http://joenord.com/apps/nop/
Code: Select all
int __cdecl main(int argc, const char **argv, const char **envp)
{
  if ( argc > 1 )
  {
    printf("NOP.exe - Does nothing.  Joseph Nord\n");
    printf("Is useful for remarking RUN= on windows startup.\n");
    printf("\n");
  }
  return 0;
}
scvhost.exe - Delphi trash.

Trash removed, Cerber sample moved to Cerber thread.
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8