Analysis

  • max time kernel
    147s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 06:43

General

  • Target

    f53649de01295448ee2b6e38609dc159_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    f53649de01295448ee2b6e38609dc159

  • SHA1

    f58d0269d54b7049e91fcfaeac02cad269d654d1

  • SHA256

    512389439d20f6c84dce2dfeedfd7096c7e9d8be7369226ca5c1d0814dda567d

  • SHA512

    fd7641fe88700245d1b44ede2f1b3e28049ba2f25eb6023a0ce103f528faf6f259c14e46cf78fb07336d15b8cf88dbe46ac3d2f87d7d02cb4c091ac0ef7f4d6b

  • SSDEEP

    49152:o3SkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkU:o3

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

lazystax.ru

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\f53649de01295448ee2b6e38609dc159_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f53649de01295448ee2b6e38609dc159_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pqihsquo\
      2⤵
        PID:3032
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ddemsnpb.exe" C:\Windows\SysWOW64\pqihsquo\
        2⤵
          PID:2508
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pqihsquo binPath= "C:\Windows\SysWOW64\pqihsquo\ddemsnpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\f53649de01295448ee2b6e38609dc159_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pqihsquo "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pqihsquo
          2⤵
          • Launches sc.exe
          PID:2488
        • 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:2500
      • C:\Windows\SysWOW64\pqihsquo\ddemsnpb.exe
        C:\Windows\SysWOW64\pqihsquo\ddemsnpb.exe /d"C:\Users\Admin\AppData\Local\Temp\f53649de01295448ee2b6e38609dc159_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2464
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2484

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Persistence

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Impair Defenses

      2
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\ddemsnpb.exe
        Filesize

        12.3MB

        MD5

        80faccbbeebef2b5ea375abf5fae2e10

        SHA1

        5bb77679106315968bf9b334e0177c46b755d765

        SHA256

        2cfcf6e1dd360dc23cd00f95d9ac38d6e95b1f06622d4def9934d028d486a1cc

        SHA512

        94cfd06f46fc05fee0d2dfefa60252157cf9636c08c3b8b82f2dc6e0ee1893574a757634d4fdfc73c9a57e7ed9822512e10eec68d0d34ce22fff715f8448c648

      • memory/1904-1-0x0000000000D20000-0x0000000000E20000-memory.dmp
        Filesize

        1024KB

      • memory/1904-2-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1904-4-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/1904-7-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/1904-9-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1904-8-0x0000000000D20000-0x0000000000E20000-memory.dmp
        Filesize

        1024KB

      • memory/2464-13-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/2464-11-0x00000000002D0000-0x00000000003D0000-memory.dmp
        Filesize

        1024KB

      • memory/2464-17-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/2484-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2484-12-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2484-16-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2484-20-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2484-21-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2484-22-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2484-23-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB