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
How do “email hackers” send you an email from yourself?

I’ve recently gotten one of those classic “I’m hacked you and stolen you information” emails, and it’s clearly a scam that relies on the fear factor. The only thing that concerns me is that the email was seemingly sent from my own account and that the hacker knows the password. I haven’t gotten any “new login” notifications, and read somewhere that such a thing can be easily spoofed by even inexperienced hackers. My question: How? Did they actually log into my email? I’m almost certain they didn’t as it was my school email account and the head of it would instantly get notified. I’m just wondering how it happened.

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

___________________________
@hacking_Attack
@Hacking_Video
Dark Reading: Attacks/Breaches
Precursor Malware is a Early Warning Sign for Ransomware

Ransomware typically rely on malware downloaders and other delivery mechanisms. Detecting and removing precursor malware improves the odds that a ransomware attack has been blocked.
Enter the folder and install python3 modules: $ cd casper-fs/module_generator
$ sudo python3 -m pip install -r requirements.txt
Edit your file rules in directory (https://www.kitploit.com/search/label/Directory) module_generator/rules/fs-rules.yaml, the python scripts, use that file to generate a new casper-fs custom module. $ cat module_generator/rules/fs-rules.yaml
binary_name: casperfs
module_name: Casperfs
unhide_module_key: AbraKadabra
hide_module_key: Shazam
fake_device_name: usb15
unhide-hide-file-key: Alakazam
unprotect-protect-file-key: Sesame
fs-rules:
- hidden:
1: secret.txt
2: my_vault.db
- protect:
1: backup_httpd.log
The array is hidden and array protected. You can insert a lot of the elements of another file on context, for example: - protect:
1: backup_httpd.log
2: secret_img.iso
3: secret_file.img
4: secret_file2.img
5: secret_file3.img
If you want to study the static code to generate, look at the directory "templates" content. The second step, generate your module. If you want to generate a kernel module following your YAML file of rules, follow that command: $ python3 casper-fs-gen.py --rules rules/fs-rules.yaml
This action can generate a generic module with the fs-rules.yaml. The third step, install your module. If you use Fedora Linux, install kernel packages for the developer: # dnf update
# dnf install kernel-headers.x86_64 kernel-modules.x86_64 kernel.x86_64 kernel-devel kmod
On Ubuntu Linux: apt install linux-headers-generic gcc make
To test module: # cd output; make clean; make
# insmod casperfs.ko
The fourth step runs your custom module. The password to turn casper-fs module visible for lsmod is the key "Shazam". The password to turn the casper-fs invisible is "AbraKadabra". The password to turn the secret files in hidden is "Alakazam", the same to turn to unhidden. The password to protect files or unprotect is "Sesame". You need to send the password for your fake device, "usb15" for example, to test hidden and unhidden resources on the file system: /dev/usb15 $ ls secret.txt $ echo "Alakazam" > /dev/usb15 $ ls -- no results--'>$ touch secret.txt
$ ls
-- no results--
$ echo "Alakazam" > /dev/usb15
$ ls
secret.txt
$ echo "Alakazam" > /dev/usb15
$ ls
-- no results--
So this is an example of trying to remove a protected file by Casper-fs: /dev/usb15 // to remove protection # rm backup_httpd.log # ls test.txt log.txt # echo "Sesame" > /dev/usb15 // to active protection (https://www.kitploit.com/search/label/Protection) again'># ls
test.txt log.txt backup_httpd.log
# rm backup_httpd.log
# ls
test.txt log.txt backup_httpd.log
# echo "Sesame" > /dev/usb15 // to remove protection
# rm backup_httpd.log
# ls
test.txt log.txt
# echo "Sesame" > /dev/usb15 // to active protection again
Note You need to turn casperfs visible at the "lsmod" command. Need this action before removing module /dev/usb15 # lsmod | grep casper casperfs # rmmod casperfs"># rmmod casperfs
rmmod: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'casperfs': No such file or directory
rmmod: ERROR: could not remove module casperfs: No such file or directory
# lsmod | grep casper
# echo "Shazam" > /dev/usb15
# lsmod | grep casper
casperfs
# rmmod casperfs
Random notes Tested on ubuntu 16 and fedora 29 at kernels "3.x","4.x" and "5.x". Point of attention This tool aims to use in the hardening system context. Pay attention if you have proper authorization (https://www.kitploit.com/search/label/Authorization) before using that. I do not have responsibility for your actions. You can use a hammer to construct a house or destroy it, choose the law path, don't be a bad guy, remember. References Wikipedia Netfilter https://en.wikipedia.org/wiki/Netfilter Linux Device Drivers http://lwn.net/Kernel/LDD3/ M0nad's Diamorphine https://github.com/m0nad/Diamorphine/

___________________________
@hacking_Attack
@Hacking_Video