Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-06-2024 20:05

General

  • Target

    2024-06-21_82c2359d34d3963f1254fe66fd531487_mafia.exe

  • Size

    14.8MB

  • MD5

    82c2359d34d3963f1254fe66fd531487

  • SHA1

    9881acf4de4b213f1500bc6627858257e4bbd190

  • SHA256

    899aa9dd6997669142d99322dc8151ca0bad52758a3a6680affd28447e3ca2e9

  • SHA512

    f98500b7f3de7e2577454c23e14eff00feb0c434ac1bc544da6e2d67d5d4ffd53d6e0d180685358ecd187ae1a1b7c5e04dedac90f844607fca0314edfc122a26

  • SSDEEP

    6144:v+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:v+r1IeSXMXc7LlxWV4Ug97GZ+ej

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-21_82c2359d34d3963f1254fe66fd531487_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-21_82c2359d34d3963f1254fe66fd531487_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cjifzdqw\
      2⤵
        PID:684
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xntmnvlu.exe" C:\Windows\SysWOW64\cjifzdqw\
        2⤵
          PID:2432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cjifzdqw binPath= "C:\Windows\SysWOW64\cjifzdqw\xntmnvlu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-21_82c2359d34d3963f1254fe66fd531487_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4176
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cjifzdqw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cjifzdqw
          2⤵
          • Launches sc.exe
          PID:3160
        • 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
          PID:3256
      • C:\Windows\SysWOW64\cjifzdqw\xntmnvlu.exe
        C:\Windows\SysWOW64\cjifzdqw\xntmnvlu.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-21_82c2359d34d3963f1254fe66fd531487_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1336
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2140
      • 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=1348 --field-trial-handle=2284,i,15722001240173834669,15048020084704567542,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:1424

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\xntmnvlu.exe
          Filesize

          10.6MB

          MD5

          7cbfddc17ea9420d76641cc0f2ba3bd1

          SHA1

          80db676e4c61d9224b2b64ec643af3fbfc81dfed

          SHA256

          3b62820269f42c3c99aec793ea9b80f13b91056f99e7b665958722b6abf993c8

          SHA512

          83ee85828e900c7749be63c341d7bf3f045eb992b3b4625a1f7d56e778dafd22ba354658aeaaea7455619ebd848b4bfcd217a0a36ee6ec4dee258e8ab925eb37

        • memory/1336-10-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1336-11-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1336-15-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1600-1-0x0000000000760000-0x0000000000860000-memory.dmp
          Filesize

          1024KB

        • memory/1600-2-0x0000000000400000-0x0000000000415000-memory.dmp
          Filesize

          84KB

        • memory/1600-5-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1600-7-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1600-8-0x0000000000400000-0x0000000000415000-memory.dmp
          Filesize

          84KB

        • memory/2140-12-0x0000000000620000-0x0000000000635000-memory.dmp
          Filesize

          84KB

        • memory/2140-16-0x0000000000620000-0x0000000000635000-memory.dmp
          Filesize

          84KB

        • memory/2140-17-0x0000000000620000-0x0000000000635000-memory.dmp
          Filesize

          84KB