Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-11-2024 02:10

General

  • Target

    9f3c94a238a6c4f521f1e7269ee03ea2_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    9f3c94a238a6c4f521f1e7269ee03ea2

  • SHA1

    4bace04fc096803ad06afd0bb1480fafb475ff2c

  • SHA256

    2b526e3d6299bab06aa1ddf22f546aa5a1972d39019ea98ccda44e75f0a74065

  • SHA512

    1ba61535510ac498649852f3e548e71d5dd0ad0ed455c2c5367d937bb994a68c8b5cac2aff0d45759c0203a3f5124f7463f2797413411eaeabc2899bb12c3a11

  • SSDEEP

    98304:euuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuO:

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.

  • Tofsee family
  • Creates new service(s) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9f3c94a238a6c4f521f1e7269ee03ea2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9f3c94a238a6c4f521f1e7269ee03ea2_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\arwymhmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbkuhkpb.exe" C:\Windows\SysWOW64\arwymhmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create arwymhmn binPath= "C:\Windows\SysWOW64\arwymhmn\hbkuhkpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\9f3c94a238a6c4f521f1e7269ee03ea2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2176
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description arwymhmn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start arwymhmn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4608
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4656 -s 596
      2⤵
      • Program crash
      PID:4552
  • C:\Windows\SysWOW64\arwymhmn\hbkuhkpb.exe
    C:\Windows\SysWOW64\arwymhmn\hbkuhkpb.exe /d"C:\Users\Admin\AppData\Local\Temp\9f3c94a238a6c4f521f1e7269ee03ea2_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2960
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2960 -s 556
      2⤵
      • Program crash
      PID:3452
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4656 -ip 4656
    1⤵
      PID:2540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 2960 -ip 2960
      1⤵
        PID:4376

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        5a7e19d8f57b2f3296a5f7c69dd8cf11

        SHA1

        3428e50c13fb0203c9f457ccb130e12cee92d784

        SHA256

        15ef680d3a319b01ee10eae1326b303b9debbd0966ebf11feb8bbf1f48cb4989

        SHA512

        0bd8a5f7a4c2a592f190e229c7dc35dc4b2266bb64c22a147ee6985b6b7b6e7204f0c15bd1b360a27914dbb480fd397b5fda2d624e4832c7f68e14a3d32325e5

      • memory/2960-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2960-14-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2960-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2960-19-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4268-15-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB

      • memory/4268-17-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB

      • memory/4268-18-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB

      • memory/4656-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4656-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB

      • memory/4656-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4656-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4656-10-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/4656-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB