Analysis

  • max time kernel
    145s
  • max time network
    149s
  • 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 00:26

General

  • Target

    JaffaCakes118_846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea.exe

  • Size

    160KB

  • MD5

    fb35ce98c953322a42694830696a6bcf

  • SHA1

    4cddac04f1b0a724fb89cf6a8cf20aeb295b2126

  • SHA256

    846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea

  • SHA512

    678938ab71f780a8ebf0e38f53ecd3351ba87524340141d58d273cc56ee0b6bad7a7b5eb8fc98918c58df5f3f45de8ab1776c08f6d4b06d85c8d2360d042133c

  • SSDEEP

    1536:0ae1ySgZv4PWNemwPvh45bxEmnVGgk1Il/01UmuhOgg8QPerf1G5VpJHh9H+/RHW:LVSuQTyaF2M1UxOzT6G5xB9ERHTClX

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kbfnggbx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xmrsmuxq.exe" C:\Windows\SysWOW64\kbfnggbx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kbfnggbx binPath= "C:\Windows\SysWOW64\kbfnggbx\xmrsmuxq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kbfnggbx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kbfnggbx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • 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:1260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2180 -s 1220
      2⤵
      • Program crash
      PID:2772
  • C:\Windows\SysWOW64\kbfnggbx\xmrsmuxq.exe
    C:\Windows\SysWOW64\kbfnggbx\xmrsmuxq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_846c64ed0a4502f5b189b257cb86c55e5228b6801e38eb992e5d5e3534d9d2ea.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3356
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3356 -s 532
      2⤵
      • Program crash
      PID:4716
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2180 -ip 2180
    1⤵
      PID:3844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3356 -ip 3356
      1⤵
        PID:2644

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        fec2f183bc1c0e7c593448d5a8b2e8d9

        SHA1

        f30f7009f9091d1c991843bb0577b720f90338d8

        SHA256

        35582d0c9186e96105eeb655e82a9813dca1128cb37beac98303b0c832f31f80

        SHA512

        39b53bbe7b608c966064ceac7eb6f1fe486d994f868ee82ce643a7f7ab32f5ceb7302e20da7a30bd5feffbc22d70b8ea6c4d89252e67465c482fc424783ed0f3

      • memory/2180-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2180-1-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/2180-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2180-0-0x00000000004C0000-0x00000000004CD000-memory.dmp

        Filesize

        52KB

      • memory/2180-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2180-15-0x00000000004C0000-0x00000000004CD000-memory.dmp

        Filesize

        52KB

      • memory/2180-16-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/3356-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3356-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3356-8-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3356-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4856-12-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/4856-9-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/4856-18-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/4856-19-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/4856-20-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB