Iranian cyber actors’ brute force and credential access activity compromises critical infrastructure

Release date
17 October 2024
Alert rating
LOW

Description

The Federal Bureau of Investigation (FBI), the Cybersecurity and Infrastructure Security Agency (CISA), and the National Security Agency (NSA) are releasing this joint Cybersecurity Advisory to warn network defenders on Iranian cyber actors’ compromising, frequently using brute force attacks, organizations across multiple critical infrastructure sectors, including the healthcare and public health (HPH), government, information technology, engineering, and energy sectors. The actors likely aim to obtain credentials and information describing the victim’s network that can then be sold to enable access to cybercriminals.

Audience

Organisations & Critical InfrastructureGovernment

Current update

code, span.code {
background-color: #dedede;
padding: 2px;
}

Summary

The Federal Bureau of Investigation (FBI), the Cybersecurity and Infrastructure Security Agency (CISA), the National Security Agency (NSA), the Communications Security Establishment Canada (CSE), the Australian Federal Police (AFP), and Australian Signals Directorate’s Australian Cyber Security Centre (ASD’s ACSC) are releasing this joint Cybersecurity Advisory to warn network defenders of Iranian cyber actors’ use of brute force and other techniques to compromise organizations across multiple critical infrastructure sectors, including the healthcare and public health (HPH), government, information technology, engineering, and energy sectors. The actors likely aim to obtain credentials and information describing the victim’s network that can then be sold to enable access to cybercriminals.

Since October 2023, Iranian actors have used brute force, such as password spraying, and multi-factor authentication (MFA) ‘push bombing’ to compromise user accounts and obtain access to organizations. The actors frequently modified MFA registrations, enabling persistent access. The actors performed discovery on the compromised networks to obtain additional credentials and identify other information that could be used to gain additional points of access. The authoring agencies assess the Iranian actors sell this information on cybercriminal forums to actors who may use the information to conduct additional malicious activity.

This advisory provides the actors’ tactics, techniques, and procedures (TTPs) and indicators of compromise (IOCs). The information is derived from FBI engagements with entities impacted by this malicious activity.

The authoring agencies recommend critical infrastructure organizations follow the guidance provided in the Mitigations section. At a minimum, organizations should ensure all accounts use strong passwords and register a second form of authentication.

Technical details

Note: This advisory uses the MITRE ATT&CK® for Enterprise framework, version 15. See the MITRE ATT&CK Tactics and Techniques section in Appendix A for a table of the actors’ activity mapped to MITRE ATT&CK tactics and techniques.

Overview of activity

The actors likely conduct reconnaissance operations to gather victim identity [T1589] information. Once obtained, the actors gain persistent access to victim networks frequently via brute force [T1110]. After gaining access, the actors use a variety of techniques to further gather credentials, escalate privileges, and gain information about the entity’s systems and network. The actors also move laterally and downloads information that could assist other actors with access and exploitation.

Initial access and persistence

The actors use valid user and group email accounts [T1078], frequently obtained via brute force attacks such as password spraying [T1110.003] although other times via unknown means, to obtain initial access to Microsoft 365, Azure [T1078.004], and Citrix systems [T1133]. In some cases where push notification-based MFA was enabled, the actors send MFA requests to legitimate users seeking acceptance of the request. This technique—bombarding users with mobile phone push notifications until the user either approves the request by accident or stops the notifications— is known as “MFA fatigue” or “push bombing” [T1621].

Once the threat actors gain access to an account, they frequently register their devices with MFA to protect their access to the environment via the valid account:

  • In two confirmed compromises, the actors leveraged a compromised user’s open registration for MFA [T1556.006] to register the actor’s own device [T1098.005] to access the environment.
  • In another confirmed compromise, the actors used a self-service password reset (SSPR) tool associated with a public facing Active Directory Federation Services (ADFS) to reset the accounts with expired passwords [T1484.002] and then registered MFA through Okta for compromised accounts without MFA already enabled. [T1556] [T1556.006].

The actors frequently conduct their activity using a virtual private network (VPN) service [T1572]. Several of the IP addresses observed in the actors’ malicious activity originate from exit nodes tied to the Private Internet Access VPN service.

Lateral movement

The actors use Remote Desktop Protocol (RDP) for lateral movement [T1021.001]. In one instance, the actors used Microsoft Word to open PowerShell to launch the RDP binary mstsc.exe [T1202].

Credential access

The actors likely use open-source tools and methodologies to gather more credentials. The actors performed Kerberos Service Principal Name (SPN) enumeration of several service accounts and received several Kerberos tickets [T1558.003]. In one instance, the actors used the Active Directory (AD) Microsoft Graph Application Program Interface (API) PowerShell application likely to perform a directory dump of all AD accounts. Also, the actors imported the tool [T1105] DomainPasswordSpray.ps1, which is openly available on GitHub [T1588.002], likely to conduct password spraying. The actors also used the command Cmdkey /list, likely to display usernames and credentials [T1555].

Privilege escalation

In one instance, the actors attempted impersonation of the domain controller, likely by exploiting Microsoft’s Netlogon (also known as ‘Zerologon’) privilege escalation vulnerability (CVE-2020-1472) [T1068].

Discovery

The actors leverage living off the land (LOTL) to gain knowledge about the target systems and internal networks. The actors used the following Windows command-line tools to gather information about domain controllers [T1018], trusted domains [T1482], lists of domain administrators, and enterprise administrators [T1087.002] [T1069.002] [T1069.003]:

  • Nltest /dclist
  • Nltest /domain_trusts
  • Nltest /domain_trusts/all_trusts
  • Net group “Enterprise admins” /domain
  • Net group “Domain admins” /domain

Next, the actors used the following Lightweight Directory Access Protocol (LDAP) query in PowerShell [T1059.001] to search the AD for computer display names, operating systems, descriptions, and distinguished names [T1082].

$i=0
$D= [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
$L=’LDAP://’ . $D
$D = [ADSI]$L
$Date = $((Get[1]Date).AddDays(-90).ToFileTime())
$str = ‘(&(objectcategory=computer)(operatingSystem=*serv*)(|(lastlogon>=’+$Date+'(lastlogontimestamp>=’+$Date+’)))’
$s = [adsisearcher]$str
$s.searchRoot = $L.$D.distinguishedName
$s.PropertiesToLoad.Add(‘cn’) > $Null
$s.PropertiesToLoad.Add(‘operatingsystem’) > $Null
$s.PropertiesToLoad.Add(‘description’) > $Null
$s.PropertiesToLoad.Add(‘distinguishedName’) > $Null
Foreach ($CA in $s.FindAll()) {
      Write-Host $CA.Properties.Item(‘cn’)
      $CA.Properties.Item(‘operatingsystem’)
      $CA. Properties.Item(‘description’)
      $CA.Properties.Item(‘distinguishedName’)
      $i++
}
Write-host Total servers: $i

Command and control

On one occasion, using msedge.exe, the actors likely made outbound connections to Cobalt Strike Beacon command and control (C2) infrastructure [T1071.001].

Exfiltration and collection

In a couple instances while logged in to victim accounts, the actors downloaded files related to gaining remote access to the organization and to the organization inventory [T1005], likely exfiltrating the files to further persist in the victim network or to sell the information online.

Detection

To detect brute force activity, the authoring agencies recommend reviewing authentication logs for system and application login failures of valid accounts and looking for multiple, failed authentication attempts across all accounts.

To detect the use of compromised credentials in combination with virtual infrastructure, the authoring agencies recommend following the steps:

  • Look for “impossible logins,” such as suspicious logins with changing usernames, user agent strings, and IP address combinations or logins where IP addresses do not align to the user’s expected geographic location.
  • Look for one IP used for multiple accounts, excluding expected logins.
  • Look for “impossible travel.” Impossible travel occurs when a user logs in from multiple IP addresses with significant geographic distance (i.e., a person could not realistically travel between the geographic locations of the two IP addresses during the period between the logins). Note: Implementing this detection opportunity can result in false positives if legitimate users apply VPN solutions before connecting into networks.
  • Look for MFA registrations with MFA in unexpected locales or from unfamiliar devices.
  • Look for processes and program execution command-line arguments that may indicate credential dumping, especially attempts to access or copy the ntds.dit file from a domain controller.
  • Look for suspicious privileged account use after resetting passwords or applying user account mitigations.
  • Look for unusual activity in typically dormant accounts.
  • Look for unusual user agent strings, such as strings not typically associated with normal user activity, which may indicate bot activity.

Mitigations

The authoring agencies recommend organizations implement the mitigations below to improve organizations’ cybersecurity posture based on the actors’ TTPs described in this advisory. These mitigations align with the Cross-Sector Cybersecurity Performance Goals (CPGs) developed by CISA. The CPGs, which are organized to align to the National Institute of Standards and Technology (NIST) Cybersecurity Framework, are a subset of cybersecurity practices, aimed at meaningfully reducing risks to both critical infrastructure operations and the American people. These voluntary CPGs strive to help small- and medium-sized organizations kick start their cybersecurity efforts by prioritizing investment in a limited number of essential actions with high-impact security outcomes. Visit CISA’s Cross-Sector Cybersecurity Performance Goals for more information on the CPGs, including additional recommended baseline protections.

  • Review IT helpdesk password management related to initial passwords, password resets for user lockouts, and shared accounts. IT helpdesk password procedures may not align to company policy for user verification or password strength, creating a security gap. Avoid common passwords (e.g. “Spring2024” or “Password123!”)
  • Disable user accounts and access to organizational resources for departing staff [CPG 2.D]. Disabling accounts can minimize system exposure, removing options actors can leverage for entry into the system. Similarly, create new user accounts as close as possible to an employee’s start date.
  • Implement phishing-resistant MFA [CPG 2.H] See CISA’s resources Phishing-Resistant Multifactor Authentication and More than a Password for additional information strengthening user credentials.
  • Continuously review MFA settings to ensure coverage over all active, internet facing protocols to ensure no exploitable services are exposed [CPG 2.W].
  • Provide basic cybersecurity training to users [CPG 2.I] covering concepts such as:
    • Detecting unsuccessful login attempts [CPG 2.G].
    • Having users deny MFA requests they have not generated.
    • Ensuring users with MFA enabled accounts have MFA set up appropriately.
  • Ensure password policies align with the latest NIST Digital Identity Guidelines.
    • Meeting the minimum password strength [CPG 2.B] by creating a password using 8-64 nonstandard characters and long passphrases, when possible.
  • Disable the use of RC4 for Kerberos authentication.

These mitigations apply to critical infrastructure entities across sectors.

The authoring agencies also recommend software manufacturers incorporate secure by design principles and tactics into their software development practices to protect their customers against actors using compromised credentials, thereby strengthening the security posture of their customers. For more information on secure by design, see CISA’s Secure by Design webpage and joint guide.

Validate security controls

In addition to applying mitigations, the authoring agencies recommend exercising, testing, and validating organization security programs against the threat behaviors mapped to the MITRE ATT&CK for Enterprise framework in this advisory. The authoring agencies recommend testing your existing security controls inventory to assess how they perform against the ATT&CK techniques described in this advisory.

To get started:

  1. Select an ATT&CK technique described in this advisory (see Table 1 to Table 12).
  2. Align your security technologies against the technique.
  3. Test your technologies against the technique.
  4. Analyze your detection and prevention technologies’ performance.
  5. Repeat the process for all security technologies to obtain a set of comprehensive performance data.
  6. Tune your security program, including people, processes, and technologies, based on the data generated by this process.

The authoring agencies recommend continually testing your security program, at scale, in a production environment to ensure optimal performance against the MITRE ATT&CK techniques identified in this advisory.

Disclaimer

The information in this report is being provided “as is” for informational purposes only. The authoring agencies do not endorse any commercial entity, product, company, or service, including any entities, products, or services linked within this document. Any reference to specific commercial entities, products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply endorsement, recommendation, or favoring by the authoring agencies.

Intrusion events connected to this Iranian group may also include a different set of cyber actors–likely the third-party actors who purchased access from the Iranian group via cybercriminal forums or other channels. As a result, some TTPs and IOCs noted in this advisory may be tied to these third-party actors, not the Iranian actors. The TTPs and IOCs are in the advisory to provide recipients the most complete picture of malicious activity that may be observed on compromised networks. However, exercise caution if formulating attribution assessments based solely on matching TTPs and IOCs.

Appendix 1: MITRE ATT&CK tactics and techniques

See Tables 1 to 12 for all referenced actors’ tactics and techniques in this advisory. For assistance with mapping malicious cyber activity to the MITRE ATT&CK framework, see CISA and MITRE ATT&CK’s Best Practices for MITRE ATT&CK Mapping and CISA’s Decider Tool.

Table 1: Reconnaissance
Technique titleIDUse
Gather Victim Identity InformationT1589The actors likely gathered victim information.
Table 2: Resource Development
Technique titleIDUse
Obtain Capabilities: ToolT1588.002The actors obtained a password spray tool through an open-source repository.
Table 3: Initial Access
Technique titleIDUse
Valid AccountsT1078The actors used password spraying to obtain valid user and group email account credentials, allowing them access to the network.
Valid Accounts: Cloud AccountsT1078.004The actors used accounts hosted on Microsoft 365, Azure, and Okta cloud environments as additional methods for initial access.
External Remote ServicesT1133The actors exploited Citrix systems’ external-facing remote services as another method for gaining initial access to the system.
Table 4: Execution
Technique titleIDUse
Command and Scripting Interpreter: PowerShellT1059.001The actors used PowerShell commands to maintain and expand access.
Table 5: Persistence
Technique titleIDUse
Account Manipulation: Device RegistrationT1098.005The actors used PowerShell commands to maintain and expand access.
Modify Authentication ProcessT1556The actors used a public facing Active Directory Federation Service (ADFS) domain to reset the passwords of expired accounts.
Modify Authentication Process: Multi-Factor AuthenticationT1556.006The actors used an MFA bypass method, such as Multi-Factor Authentication Request Generation, providing the ability to modify or completely disable MFA defenses.
Table 6: Privilege Escalation
Technique titleIDUse
Exploitation for Privilege EscalationT1068The actors attempted impersonation of the domain controller likely by exploiting CVE-2020-1472, Microsoft’s Netlogon Privilege Escalation vulnerability.
Domain or Tenant Policy Modification: Trust ModificationT1484.002The actors leveraged a public-facing ADFS password reset tool to reactivate inactive accounts, allowing the actor to authenticate and enroll their devices as any user in the AD managed by the victim tenant.
Table 7: Defense Evasion
Technique titleIDUse
Indirect Command ExecutionT1202The actors attempted impersonation of the Domain Controller likely by exploiting CVE-2020-1472, Microsoft’s Netlogon Privilege Escalation vulnerability.
Table 8: Credential Access
Technique titleIDUse
Brute Force: Password SprayingT1110.003The actors targeted applications, including Single Sign-on (SSO) Microsoft Office 365, using brute force password sprays and imported the tool DomainPasswordSpray.ps1.
Credentials from Password StoresT1555The actors used the command Cmdkey /list likely to display usernames and credentials.
Steal or Forge Kerberos Tickets: KerberoastingT1558.003The actors performed Kerberos Service Principal Name (SPN) enumeration of several service accounts and received Rivest Cipher 4 (RC4) tickets.
Multi-Factor Authentication Request GenerationT1621The actors sent MFA requests to legitimate users.
Table 9: Discovery
Technique titleIDUse
Remote System DiscoveryT1018The actors used LOTL to return information about domain controllers.
Permission Groups Discovery: Domain GroupsT1069.002The actors used LOTL to return lists of domain administrators and enterprise administrators.
Permission Groups Discovery: Cloud GroupsT1069.003The actors used LOTL to return lists of domain administrators and enterprise administrators.
System Information DiscoveryT1082The actors were able to query the AD to discover display names, operating systems, descriptions, and distinguished names from the computer.
Account Discovery: Domain AccountT1087.002The actors used LOTL to return lists of domain administrators and enterprise administrators.
Domain Trust DiscoveryT1482The actors used LOTL to return information about trusted domains.
Table 10: Lateral Movement
Technique titleIDUse
Remote Services: Remote Desktop ProtocolT1021.001The actors used Microsoft Word to open PowerShell to launch RDP binary mstsc.exe.
Table 11: Collection
Technique titleIDUse
Data from Local SystemT1005The actors downloaded files related to remote access methods and the organization’s inventory.
Table 12: Command and Control
Technique titleIDUse
Application Layer Protocol: Web ProtocolsT1071.001The actors used msedge.exe to make outbound connections likely to Cobalt Strike Beacon C2 infrastructure.
Ingress Tool TransferT1105The actors imported a tool from GitHub and used it to conduct password spraying.
Protocol TunnelingT1572The actors frequently conduct targeting using a virtual private network (VPN).

Appendix 2: Indicators of compromise

See Tables 13 to 15 for IOCs obtained from FBI investigations.

Table 13: Malicious Files Associated with Iranian Cyber Actors
HashDescription
1F96D15B26416B2C7043EE7172357AF3AFBB002AAssociated with malicious activity.
3D3CDF7CFC881678FEBCAFB26AE423FE5AA4EFECAssociated with malicious activity.

Table 14 disclaimer: The authoring organizations recommend network defenders investigate or vet IP addresses prior to taking action, such as blocking, as many cyber actors are known to change IP addresses, sometimes daily, and some IP addresses may host valid domains. Many of the IP addresses provided below are assessed VPN nodes and as such are not exclusive to the Iranian actors’ use. The authoring organizations do not recommend blocking these IP addresses based solely on their inclusion in this CSA. The authoring organizations recommend using the below IP addresses to search for previous activity the actors may have conducted against networks. If positive hits for these IP addresses are identified, the authoring organizations recommend making an independent determination if the observed activity aligns with the TTPs outlined in the CSA. The timeframes included the table reflect the timeframe the actors likely used the IPs.

Table 14: Network Indicators
IP addressDate range
95.181.234[.]1201/30/2024 to 02/07/2024
95.181.234[.]2501/30/2024 to 02/07/2024
173.239.232[.]2010/06/2023 to 12/19/2023
172.98.71[.]19110/15/2023 to 11/27/2023
102.129.235[.]12710/21/2023 to 10/22/2023
188.126.94[.]6010/22/2023 to 01/12/2024
149.40.50[.]4510/26/2023
181.214.166[.]5910/26/2023
212.102.39[.]21210/26/2023
149.57.16[.]13410/26/2023 to 10/27/2023
149.57.16[.]13710/26/2023 to 10/27/2023
102.129.235[.]18610/29/2023 to 11/08/2023
46.246.8[.]13810/31/2023 to 01/26/2024
149.57.16[.]16011/08/2023
149.57.16[.]3711/08/2023
46.246.8[.]13711/17/2023 to 01/25/2024
212.102.57[.]2911/19/2023 to 01/17/2024
46.246.8[.]8211/22/2023 to 01/28/2024
95.181.234[.]1511/26/2023 to 02/07/2024
45.88.97[.]22511/27/2023 to 02/11/2024
84.239.45[.]1712/04/2023 to 12/07/2023
178.131.168[.]24212/6/2023
46.246.8[.]6212/6/2023
212.102.57[.]21412/6/2023
179.61.228[.]3512/6/2023
46.246.41[.]16512/6/2023
154.16.192[.]10412/6/2023
46.246.8[.]10412/07/2023 to 02/07/2024
37.46.113[.]20612/07/2023
46.246.3[.]18612/07/2023 to 12/09/2023
46.246.8[.]14112/07/2023 to 02/10/2024
46.246.8[.]1712/09/2023 to 01/09/2024
37.19.197[.]18212/15/2023
154.16.192[.]3812/25/2023 to 01/24/2024
102.165.16[.]12712/27/2023 to 01/28/2024
46.246.8[.]4712/29/2023 to 01/29/2024
46.246.3[.]22512/30/2023 to 02/06/2024
46.246.3[.]22612/31/2023 to 02/03/2024
46.246.3[.]24012/31/2023 to 02/06/2024
191.101.217[.]1001/05/2024
102.129.153[.]18201/08/2024
46.246.3[.]19601/08/2024
102.129.152[.]6001/09/2024
156.146.60[.]7401/10/2024
191.96.227[.]11301/10/2024
191.96.227[.]12201/10/2024
181.214.166[.]13201/11/2024
188.126.94[.]5701/11/2024 to 01/13/2024
154.6.13[.]14401/13/2024 to 01/24/2024
154.6.13[.]15101/13/2024 to 01/28/2024
188.126.94[.]16601/15/2024
89.149.38[.]20401/18/2024
46.246.8[.]6701/20/2024
46.246.8[.]5301/22/2024
154.16.192[.]3701/24/2024
191.96.150[.]1401/24/2024
191.96.150[.]9601/24/2024
46.246.8[.]1001/24/2024
84.239.25[.]1301/24/2024
154.6.13[.]13901/26/2024
191.96.106[.]3301/26/2024
191.96.227[.]15901/26/2024
149.57.16[.]15001/27/2024
191.96.150[.]2101/27/2024
46.246.8[.]8401/27/2024
95.181.235[.]801/27/2024
191.96.227[.]10201/27/2024 to 01/28/2024
46.246.122[.]18501/28/2024
146.70.102[.]301/29/2024 to 01/30/2024
46.246.3[.]23301/30/2024 to 02/15/2024
46.246.3[.]23901/30/2024 to 02/15/2024
188.126.89[.]3502/03/2024
46.246.3[.]22302/03/2024
46.246.3[.]24502/05/2024 to 02/06/2024
191.96.150[.]5002/09/2024
Table 15: Devices
Device typeDescription
Samsung Galaxy A71 (SM-A715F)Registered with MFA
Samsung SM-G998BRegistered with MFA
Samsung SM-M205FRegistered with MFA

TisaAssist bot
🤖 Hello, how can I assist you today?
I can help you with:
✅ Answer questions related to the website.
✅ Help you understand things you don't know.
❓ What's Tisalabs
💻 What's IoT
🔒 Why sensor data must be protected?