Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 03:08

General

  • Target

    JaffaCakes118_67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323.exe

  • Size

    164KB

  • MD5

    c5ced48e65de6d707160b2e71df898f2

  • SHA1

    0c4101e6c378d70d6e145516ff46b443aff92ea4

  • SHA256

    67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323

  • SHA512

    57c5a7483fc31362d691af236d3f371668aa6b3031a8e4108ebf5d8f3992bec7a00b6755e6471f9568b368aa88b1154874aaa0d50fc3c38fb74a25f2240ceacf

  • SSDEEP

    1536:BsnEEYSamXQT/PLvQtTZp9wO7BM1NvUGgwyIBtP6fm3dLi5wIbVm78d6ccJ+Rook:BhqQQBZZygw7BtfNLi57XWJS9H6Y

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\JaffaCakes118_67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aihbjkts\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\widahggu.exe" C:\Windows\SysWOW64\aihbjkts\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aihbjkts binPath= "C:\Windows\SysWOW64\aihbjkts\widahggu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aihbjkts "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aihbjkts
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1092
    • 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:1980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1044 -s 1036
      2⤵
      • Program crash
      PID:2908
  • C:\Windows\SysWOW64\aihbjkts\widahggu.exe
    C:\Windows\SysWOW64\aihbjkts\widahggu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_67276ea315c4611e56a18ea101a6b27469386a7592364fdfa9289e13b967a323.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1136
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1136 -s 512
      2⤵
      • Program crash
      PID:2728
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1044 -ip 1044
    1⤵
      PID:2416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1136 -ip 1136
      1⤵
        PID:1156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        83f9e227389d66f3795fc48be235389d

        SHA1

        190bc1538575e6a7adb675357b6e4ef3939668ce

        SHA256

        c7e7c118348c5af3fb82e29215bf05245a08bbd635cfe038be44cd9d2218edb7

        SHA512

        4c84cc42eebca299f39f26758e20893966c1f15782d91c0430d5ec1a73d1830a3440b76203938f72799068a0884bac85b55433edf5133fe3a81ec6d39df8d982

      • memory/1044-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1044-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/1044-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB

      • memory/1136-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1136-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1136-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1136-19-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2732-16-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB

      • memory/2732-14-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB

      • memory/2732-17-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB