Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    21-04-2024 02:34

General

  • Target

    fe3ad8a487aac9594c5a470dd46ac8e2_JaffaCakes118.exe

  • Size

    12.1MB

  • MD5

    fe3ad8a487aac9594c5a470dd46ac8e2

  • SHA1

    9c6de17f83b0b4c5e1dda4684a0d912b1dd6271c

  • SHA256

    170929e3e7a128082f166a71988e8d97b11f5079fd7c18a780bfda25af14b0e3

  • SHA512

    e000963da5ef22b9fbf1aa48326fb2d79cd95ae57f8f748a2b3ae6278e72308bbbdbd501a4acc62552e78307c7cb10177339bd703eafca59810dfdeb2001aa9b

  • SSDEEP

    24576:OlxdvCcpOKCtBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB3:OlzOR

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\fe3ad8a487aac9594c5a470dd46ac8e2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe3ad8a487aac9594c5a470dd46ac8e2_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cjylfle\
      2⤵
        PID:2568
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kcltqdpj.exe" C:\Windows\SysWOW64\cjylfle\
        2⤵
          PID:3052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cjylfle binPath= "C:\Windows\SysWOW64\cjylfle\kcltqdpj.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe3ad8a487aac9594c5a470dd46ac8e2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cjylfle "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2620
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cjylfle
          2⤵
          • Launches sc.exe
          PID:2416
        • 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:2304
      • C:\Windows\SysWOW64\cjylfle\kcltqdpj.exe
        C:\Windows\SysWOW64\cjylfle\kcltqdpj.exe /d"C:\Users\Admin\AppData\Local\Temp\fe3ad8a487aac9594c5a470dd46ac8e2_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2732
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2444

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        4995a143bac7b4cebca88293feff2bd9

        SHA1

        2dcdb8e1a25eebe3c669521afcb4851b87c8af3d

        SHA256

        55cb0d27aa254ba285aeec5af859dff5a3729707aad5d5e206370c6a19862785

        SHA512

        a7700a311eae2a3578eab5f9563cb26be3095cab507bb457829235cefd82b495200f1d411409fd5bb4381d8bbbe15870e902b44651e9d825db7869b91536696e

      • memory/2184-4-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/2184-3-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2184-1-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB

      • memory/2184-8-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/2444-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2444-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2444-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2444-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2444-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2732-9-0x0000000000510000-0x0000000000610000-memory.dmp

        Filesize

        1024KB

      • memory/2732-16-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/2732-10-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB