Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 06:57

General

  • Target

    f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe

  • Size

    333KB

  • MD5

    f53aeee66a0b0dc9cdf6dd537f48287c

  • SHA1

    e7e29654829306c7c1633190833d1fe8fc0c44b5

  • SHA256

    a3eb89c5fe1e820b0ba694c4aeab1351999630b490d988b4dd698753ab8eb7dc

  • SHA512

    6d7a5f77650886803623ae6c3f7aae73a6a4d641b47cbe4707df91d5ed150b55da4a79be0abcdaa4ad2418037579abf966baf451c56eeb41c1a1183916eba04a

  • SSDEEP

    6144:/Q41aFOBM9gLaaxfOcWB4KsjKTzcbbyXoAsy6mOnbe3q:o44FuX+axfOcWKhjKncb+vsTmql

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.

  • 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apoqhyrs\
      2⤵
        PID:4420
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\labhufzy.exe" C:\Windows\SysWOW64\apoqhyrs\
        2⤵
          PID:1016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create apoqhyrs binPath= "C:\Windows\SysWOW64\apoqhyrs\labhufzy.exe /d\"C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2176
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description apoqhyrs "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start apoqhyrs
          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:4600
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4196 -s 1052
          2⤵
          • Program crash
          PID:2004
      • C:\Windows\SysWOW64\apoqhyrs\labhufzy.exe
        C:\Windows\SysWOW64\apoqhyrs\labhufzy.exe /d"C:\Users\Admin\AppData\Local\Temp\f53aeee66a0b0dc9cdf6dd537f48287c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3928
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1420
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3928 -s 516
          2⤵
          • Program crash
          PID:4428
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4196 -ip 4196
        1⤵
          PID:2784
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 3928 -ip 3928
          1⤵
            PID:1880

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.9MB

            MD5

            f3a4b59bb463453c0aa760d8def80be6

            SHA1

            f94a323ec08ac55be2ac70407ac5a55f9d05477c

            SHA256

            8cb6bcb1142c9e6266edc114239fad53b7a2e6dee6310421a4a56a5468430898

            SHA512

            f17c8d97d3892f113505db75636af48a52abc601848648749946f9c98bceda9844c507c7d2599f8372e34a7ac3b7fd819b80219321b02facb85665a092e6378a

          • memory/1420-12-0x0000000000820000-0x0000000000835000-memory.dmp

            Filesize

            84KB

          • memory/1420-16-0x0000000000820000-0x0000000000835000-memory.dmp

            Filesize

            84KB

          • memory/1420-18-0x0000000000820000-0x0000000000835000-memory.dmp

            Filesize

            84KB

          • memory/1420-19-0x0000000000820000-0x0000000000835000-memory.dmp

            Filesize

            84KB

          • memory/3928-11-0x0000000000400000-0x0000000000785000-memory.dmp

            Filesize

            3.5MB

          • memory/3928-10-0x00000000009D0000-0x0000000000AD0000-memory.dmp

            Filesize

            1024KB

          • memory/3928-17-0x0000000000400000-0x0000000000785000-memory.dmp

            Filesize

            3.5MB

          • memory/4196-4-0x0000000000400000-0x0000000000785000-memory.dmp

            Filesize

            3.5MB

          • memory/4196-2-0x00000000023A0000-0x00000000023B3000-memory.dmp

            Filesize

            76KB

          • memory/4196-9-0x00000000023A0000-0x00000000023B3000-memory.dmp

            Filesize

            76KB

          • memory/4196-8-0x0000000000400000-0x0000000000785000-memory.dmp

            Filesize

            3.5MB

          • memory/4196-1-0x00000000008A0000-0x00000000009A0000-memory.dmp

            Filesize

            1024KB