Analysis

  • max time kernel
    147s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-10-2024 04:30

General

  • Target

    1b7dbf198800af119607b4fd81e60e59_JaffaCakes118.exe

  • Size

    10.5MB

  • MD5

    1b7dbf198800af119607b4fd81e60e59

  • SHA1

    f68c015bad7ec31ee18d4e097931511f329d59fc

  • SHA256

    4119098cb2c53b1fc2619b83c3eecee5e07dfda7c9e6734fd145721fad15cf65

  • SHA512

    a432c931059746150d0072a212d102352640de6f8e81624b9549e7dd1f3883b14f71c549312af5bf24f0038ba23f43163d43057922cdf0ebb3b28e567ba9c9c9

  • SSDEEP

    6144:frxbJOIoKZyaaUo9t+m7c74mOGjZP6NEpTvBzRxkac1B:jF/ZyaaUk+m7c7ZRiNEpTGa

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) 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\1b7dbf198800af119607b4fd81e60e59_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\1b7dbf198800af119607b4fd81e60e59_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wxsjjnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lomhbisc.exe" C:\Windows\SysWOW64\wxsjjnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wxsjjnh binPath= "C:\Windows\SysWOW64\wxsjjnh\lomhbisc.exe /d\"C:\Users\Admin\AppData\Local\Temp\1b7dbf198800af119607b4fd81e60e59_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wxsjjnh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wxsjjnh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2616
    • 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:2664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4768 -s 584
      2⤵
      • Program crash
      PID:1508
  • C:\Windows\SysWOW64\wxsjjnh\lomhbisc.exe
    C:\Windows\SysWOW64\wxsjjnh\lomhbisc.exe /d"C:\Users\Admin\AppData\Local\Temp\1b7dbf198800af119607b4fd81e60e59_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2220 -s 564
      2⤵
      • Program crash
      PID:2448
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4768 -ip 4768
    1⤵
      PID:928
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 2220 -ip 2220
      1⤵
        PID:1332
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4360,i,7447299413640964517,4240724842020506306,262144 --variations-seed-version --mojo-platform-channel-handle=4408 /prefetch:8
        1⤵
          PID:3796

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.2MB

          MD5

          1d7338a5375d033d921ea6dacbea01dd

          SHA1

          d88b65ea280a42d8eec1ab9d5efaddc7d616c6d8

          SHA256

          7c5eaa7e05793c9e5fee769cd5aae6064905f6ba1f831a6742b04b062b3fb8b1

          SHA512

          6e2991aa7243dbcf88eecd5167349dba34236500694bc6d1bf62a46e1c3b8b5dc79ccc00991b8281e5cbe551a803da5170c6e78e231629cc720773d423dd9be7

        • memory/2220-13-0x0000000000400000-0x000000000045D000-memory.dmp

          Filesize

          372KB

        • memory/2220-12-0x0000000000400000-0x000000000045D000-memory.dmp

          Filesize

          372KB

        • memory/2220-11-0x0000000000400000-0x000000000045D000-memory.dmp

          Filesize

          372KB

        • memory/2220-18-0x0000000000400000-0x000000000045D000-memory.dmp

          Filesize

          372KB

        • memory/3500-14-0x00000000009F0000-0x0000000000A05000-memory.dmp

          Filesize

          84KB

        • memory/3500-16-0x00000000009F0000-0x0000000000A05000-memory.dmp

          Filesize

          84KB

        • memory/3500-17-0x00000000009F0000-0x0000000000A05000-memory.dmp

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/4768-2-0x0000000000490000-0x00000000004A3000-memory.dmp

          Filesize

          76KB

        • memory/4768-10-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/4768-9-0x0000000000490000-0x00000000004A3000-memory.dmp

          Filesize

          76KB

        • memory/4768-8-0x0000000000400000-0x000000000045D000-memory.dmp

          Filesize

          372KB

        • memory/4768-1-0x0000000000590000-0x0000000000690000-memory.dmp

          Filesize

          1024KB