Analysis

  • max time kernel
    150s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    21-04-2024 08:50

General

  • Target

    fee7407aceb4cdb6521f6729e4e819c3_JaffaCakes118.exe

  • Size

    10.3MB

  • MD5

    fee7407aceb4cdb6521f6729e4e819c3

  • SHA1

    c3b6fa6d67cf29c1ba69938658b6e1f6bd6169ce

  • SHA256

    58aa25180cf5775c92f460b11fcecd58f5bc03ebd03848b1e025c09864158b1c

  • SHA512

    e6f0bb159d4f42c68229a9794cdfdcfbb2c8835d63495b4766b5fc757525cdcbe4052300e89fa7ada68212b5e1e84e0dfed71655cdf972a9bf71cb659807a8da

  • SSDEEP

    24576:XjCj10HSqGgeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee+:X/D

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fee7407aceb4cdb6521f6729e4e819c3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fee7407aceb4cdb6521f6729e4e819c3_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tgkffenh\
      2⤵
        PID:2280
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hhezctkc.exe" C:\Windows\SysWOW64\tgkffenh\
        2⤵
          PID:2012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tgkffenh binPath= "C:\Windows\SysWOW64\tgkffenh\hhezctkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\fee7407aceb4cdb6521f6729e4e819c3_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tgkffenh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tgkffenh
          2⤵
          • Launches sc.exe
          PID:2580
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:2504
      • C:\Windows\SysWOW64\tgkffenh\hhezctkc.exe
        C:\Windows\SysWOW64\tgkffenh\hhezctkc.exe /d"C:\Users\Admin\AppData\Local\Temp\fee7407aceb4cdb6521f6729e4e819c3_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2560
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2372

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\hhezctkc.exe

        Filesize

        11.2MB

        MD5

        b993e21de804f0f5b8bd424db330bc7f

        SHA1

        86497446876e2715c6b157b28d48f3249e89c45c

        SHA256

        e4ed55224fe560b213aded80866971b92ebc9a77a5f1598ec476bf1cdf0eeb70

        SHA512

        0dd0506a60ac7b9040ef84eef70ef0ab6aa5f7a22c395082d32a2b98af4e8533c6c35bbb3e2b3ae547fcba7c290774e5a78a308511520f98e396ccf8416ade01

      • memory/2072-1-0x0000000000230000-0x0000000000330000-memory.dmp

        Filesize

        1024KB

      • memory/2072-2-0x00000000003A0000-0x00000000003B3000-memory.dmp

        Filesize

        76KB

      • memory/2072-3-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2072-6-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2072-7-0x00000000003A0000-0x00000000003B3000-memory.dmp

        Filesize

        76KB

      • memory/2372-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2372-12-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2372-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2372-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2372-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2372-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2560-11-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2560-10-0x0000000000540000-0x0000000000640000-memory.dmp

        Filesize

        1024KB

      • memory/2560-16-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB