# 王者歸來 - 網域AD的善惡法則 | Host | IP Address | Password | | ----------------------------------------- | ------------- | ---------------------------------------------------------- | | Kali Linux 2021.02/03 | 172.16.90.134 | kali/kali | | Ubuntu 20.04 - Wazuh | 172.16.90.135 | wazuh/1qaz@WSX3edc; wazuh:rnt4pDwuWHw71L3I77Siyywx_VrWvnTT | | Windows Server 2019 - training_a.local | 172.16.90.136 | Administrator/1qaz@WSX3edc | | Windows 10 | 172.16.90.137 | pc01/1qaz@WSX3edc | | tool.zip | |1qaz@WSX3edc| ### Azure AD Part - Azure AD Credential ``` https://portal.azure.com/ user$i@dextycorp.onmicrosoft.com user$i_admin@dextycorp.onmicrosoft.com 1qaz@WSX3edc@ADTraining ``` e.g., user1@dextycorp.onmicrosoft.com user12_admin@dextycorp.onmicrosoft.com - Set DNS to Google DNS Server, Please check and modify your interfaceindex ``` Set-DnsClientServerAddress -InterfaceIndex 9 -ServerAddresses ("8.8.8.8") ``` - Please download Azure Tools https://www.icloud.com/iclouddrive/0f2RRGEeqzF8J2TmQStaN5CmQ#Azure_Tool_2 ### On-Prem AD Part VMs * Windows Server 2019 - DC01(ova) * Windows 10 (ova) * Kali Linux (ova) * Ubuntu Linux - Wazuh(ova) network setting for VM ->virtual network editor  ->change the subnet to 172.16.90.0 255.255.255.0  (win10 and win2019) VM system network adapter setting 1. open control panel 2. navigate to "network and sharing center" 3. on the left panel, click "change adapter setting"    ## 補充資料 ``` Import-Module ADDSDeployment Install-ADDSForest ` -DomainName "training_a.local" ` -CreateDnsDelegation:$false ` -DatabasePath "C:\Windows\NTDS" ` -DomainMode "WinThreshold" ` -DomainNetbiosName "TRAINING_A" ` -ForestMode "WinThreshold" ` -InstallDns:$true ` -LogPath "C:\Windows\NTDS" ` -NoRebootOnCompletion:$false ` -SysvolPath "C:\Windows\SYSVOL" ` -Force:$True ``` fix for Clock skew error ``` wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add sudo apt install rdate sudo rdate -n 172.16.90.136 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up