Analysis

  • max time kernel
    153s
  • max time network
    161s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-04-2024 23:16

General

  • Target

    f8f833d107384d641da35abab88050e3_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    f8f833d107384d641da35abab88050e3

  • SHA1

    95d740f7606d93ed86a451a8fbdcec91c0c94bf7

  • SHA256

    46c423ab1e4f0347a402ae2c5a6c90cbf9948ec408502fd3a5f585495dc632ac

  • SHA512

    267268cdd2ddc721c3c830c7935bcf78791d84308ea41df227382c186c3b43c83608407aa9bc039895cda04013a120d0bbc623ccc812e7d11640c0155e719e7c

  • SSDEEP

    24576:jT8rgnPp+RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRv:dp+

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f8f833d107384d641da35abab88050e3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f8f833d107384d641da35abab88050e3_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lvaafjqi\
      2⤵
        PID:4908
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zrzowuyw.exe" C:\Windows\SysWOW64\lvaafjqi\
        2⤵
          PID:1216
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lvaafjqi binPath= "C:\Windows\SysWOW64\lvaafjqi\zrzowuyw.exe /d\"C:\Users\Admin\AppData\Local\Temp\f8f833d107384d641da35abab88050e3_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lvaafjqi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lvaafjqi
          2⤵
          • Launches sc.exe
          PID:4692
        • 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:2264
      • C:\Windows\SysWOW64\lvaafjqi\zrzowuyw.exe
        C:\Windows\SysWOW64\lvaafjqi\zrzowuyw.exe /d"C:\Users\Admin\AppData\Local\Temp\f8f833d107384d641da35abab88050e3_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2348
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:5012
      • 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 --no-appcompat-clear --mojo-platform-channel-handle=1424 --field-trial-handle=2180,i,12780723798465539942,12010519452607841069,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:540

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.7MB

          MD5

          49db012d48aecaff1240bee6892339be

          SHA1

          284042ffcf175a3a3f9f59815c4563bff0a21448

          SHA256

          76b9093a0f89ad53a595c43ebf28d135da1c6dffb363653b7f7302947f873d7b

          SHA512

          e8aaaaf6bbc2d81a056fb4d56a063a0204012bd253cc3683d2e02a7681e0153d0768c0a5752bc166112a396c488920625eb57e23388657f907f8b02a38364d86

        • memory/1932-9-0x00000000009C0000-0x00000000009D3000-memory.dmp

          Filesize

          76KB

        • memory/1932-3-0x0000000000400000-0x00000000008EE000-memory.dmp

          Filesize

          4.9MB

        • memory/1932-5-0x0000000000400000-0x00000000008EE000-memory.dmp

          Filesize

          4.9MB

        • memory/1932-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

          Filesize

          76KB

        • memory/1932-8-0x0000000000400000-0x00000000008EE000-memory.dmp

          Filesize

          4.9MB

        • memory/1932-1-0x0000000000A20000-0x0000000000B20000-memory.dmp

          Filesize

          1024KB

        • memory/2348-11-0x0000000000A70000-0x0000000000B70000-memory.dmp

          Filesize

          1024KB

        • memory/2348-12-0x0000000000400000-0x00000000008EE000-memory.dmp

          Filesize

          4.9MB

        • memory/2348-15-0x0000000000400000-0x00000000008EE000-memory.dmp

          Filesize

          4.9MB

        • memory/5012-13-0x0000000000600000-0x0000000000615000-memory.dmp

          Filesize

          84KB

        • memory/5012-18-0x0000000000600000-0x0000000000615000-memory.dmp

          Filesize

          84KB

        • memory/5012-19-0x0000000000600000-0x0000000000615000-memory.dmp

          Filesize

          84KB

        • memory/5012-20-0x0000000000600000-0x0000000000615000-memory.dmp

          Filesize

          84KB