Analysis

  • max time kernel
    155s
  • max time network
    162s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 08:19

General

  • Target

    f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe

  • Size

    10.8MB

  • MD5

    f9e4d29cbf1383086b1eeac1cee11bcc

  • SHA1

    76011bf992a5c81d5b24842358f72144b2d221c4

  • SHA256

    de8a8858b5540698142f413e8990070ce478c2d314f4e61c32496e9eff9a31bf

  • SHA512

    30b3ecbfa24d685f6e99babc58f4af7ed3b966c3e5659843a5fc52a1c60a46645247c38a67674ad5bac2c37797f5de2f5aacb20d75c9726cdf1d3b57b5865348

  • SSDEEP

    12288:BVkuScTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTcTE:BVX

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.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpxrynbd\
      2⤵
        PID:1256
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zgjhiiym.exe" C:\Windows\SysWOW64\hpxrynbd\
        2⤵
          PID:1632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hpxrynbd binPath= "C:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4808
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hpxrynbd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2504
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hpxrynbd
          2⤵
          • Launches sc.exe
          PID:3796
        • 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:2572
      • C:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exe
        C:\Windows\SysWOW64\hpxrynbd\zgjhiiym.exe /d"C:\Users\Admin\AppData\Local\Temp\f9e4d29cbf1383086b1eeac1cee11bcc_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4200
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4040

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        8b27066bdf94509fe5e93fbc28c5044b

        SHA1

        d7f5fd4eeec72b4247f1a0dff57779cf6aedeff3

        SHA256

        fc35d3e659e9ad6049d442557a2610fcabb994f685620d698dfd35d7f3086569

        SHA512

        fc12ac9c83e77fb72d2acd6951fa0b9f00736e5a225d1db394dcae52b3fa046d8bd7e922449b0185ee3fe195fe27a7fb54c6c4f50b359fdad268ccffd15e6a01

      • memory/3040-10-0x00000000048D0000-0x00000000048E3000-memory.dmp

        Filesize

        76KB

      • memory/3040-4-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/3040-5-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/3040-2-0x00000000048D0000-0x00000000048E3000-memory.dmp

        Filesize

        76KB

      • memory/3040-9-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/3040-1-0x0000000002E30000-0x0000000002F30000-memory.dmp

        Filesize

        1024KB

      • memory/4040-12-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4040-15-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4040-19-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4040-20-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4040-21-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4200-11-0x0000000003000000-0x0000000003100000-memory.dmp

        Filesize

        1024KB

      • memory/4200-17-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB

      • memory/4200-16-0x0000000000400000-0x0000000002CB9000-memory.dmp

        Filesize

        40.7MB