
SocialPwned는 Instagram, Linkedin, Twitter와 같은 소셜 네트워크에 게시된 대상의 이메일을 수집하여 PwnDB 또는 Dehashed에서 가능한 자격 증명 유출을 찾고 GHunt를 통해 Google 계정 정보를 얻을 수 있는 OSINT 도구입니다.
SocialPwned는 OSINT 도구로, Instagram, Linkedin, Twitter와 같은 소셜 네트워크에 게시된 대상의 이메일을 수집하여 PwnDB 또는 Dehashed에서 가능한 자격 증명 유출을 찾고 GHunt를 통해 Google 계정 정보를 얻을 수 있습니다.
이 도구의 목적은 윤리적 해킹의 Footprinting 단계에서 취약한 대상을 찾는 것을 용이하게 하는 것입니다. 직원들이 회사 이메일을 업무용 또는 개인용 소셜 네트워크에 게시하는 것은 흔한 일이므로, 이러한 이메일의 자격 증명이 유출된 경우 발견된 비밀번호가 감사 대상 환경에서 재사용되었을 가능성이 있습니다. 그렇지 않더라도, 최소한 대상이 비밀번호를 생성할 때 따르는 패턴에 대한 아이디어를 얻을 수 있어 더 높은 효과로 다른 공격을 수행할 수 있습니다.
SocialPwned는 다양한 모듈을 사용합니다:
$ service docker start
$ docker pull mrtuxx/socialpwned
$ docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --help
참고: docker 서비스가 올바르게 설치되어 있어야 합니다.
Tor의 설치는 시스템에 따라 다릅니다. Debian의 경우:
$ sudo apt-get install tor
$ /etc/init.d/tor start
Git을 사용하여 저장소를 복제합니다:
$ git clone https://github.com/MrTuxx/SocialPwned.git
$ cd SocialPwned
$ sudo pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
$ sudo pip3 install -r requirements.txt
$ sudo python3 socialpwned.py --credentials credentials.json --help
GHunt 모듈이 올바르게 작동하려면 다음 단계를 따라야 합니다:
Instagram 및 Linkedin 기능을 사용하려면 각 소셜 네트워크에 계정이 있어야 합니다. 자격 증명은 JSON 파일에 명시해야 합니다:
{
"instagram":{
"username":"username",
"password":"password"
},
"linkedin":{
"email":"email",
"password":"password"
},
"ghunt":{
"SID":"SID",
"SSID":"SSID",
"APISID":"APISID",
"SAPISID":"SAPISID",
"HSID":"HSID"
},
"dehashed":{
"email":"email",
"apikey":"apikey"
}
}
참고: GHunt 모듈에 필요한 쿠키는 여기에 설명된 단계를 따라 얻을 수 있습니다.
usage: socialpwned.py [-h] --credentials CREDENTIALS [--pwndb] [--tor-proxy PROXY] [--instagram] [--info QUERY]
[--location LOCATION_ID] [--hashtag-ig QUERY] [--target-ig USERNAME] [--search-users-ig QUERY]
[--my-followers] [--my-followings] [--followers-ig] [--followings-ig] [--linkedin]
[--company COMPANY_ID] [--search-companies QUERY] [--employees] [--my-contacts]
[--user-contacts USER_ID] [--search-users-in QUERY] [--target-in USERNAME] [--add-contacts]
[--add-a-contact USER_ID] [--twitter] [--limit LIMIT] [--year YEAR] [--since DATE]
[--until DATE] [--profile-full] [--all-tw] [--target-tw USERNAME] [--hashtag-tw USERNAME]
[--followers-tw] [--followings-tw] [--ghunt] [--email-gh [email protected]] [--dehashed]
[--email-dh [email protected]]
Docker 이미지를 pull한 경우 다음 명령을 실행해야 합니다:
docker run -v $(pwd)/<YOUR CREDENTIALS JSON FILE>:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json <COMMANDS>
Linkedin 및 Instagram 세션을 브라우저에서 유지하여 가능한 차단을 해결하세요. 정상적으로 상호작용하십시오.
Linkedin에서 조직의 모든 직원 이메일을 얻기 전에 충분히 넓은 연락처 네트워크, 공통 친구 및 네트워크에 추가된 일부 직원이 있는지 확인하세요. 연락처가 네트워크에 없으면 연락처 정보를 볼 수 없는 경우가 많습니다.
대규모 검색을 수행하지 않도록 하여 차단되지 않도록 하세요.
특정 대상이거나 많은 양의 정보를 처리하지 않을 때 모듈을 결합하세요. 그렇지 않으면 실패하거나 차단될 수 있습니다.
SocialPwned가 실행될 때마다 다음 형식의 디렉토리가 생성됩니다:
output
└── session_year_month_day_time
├── dehashed
│ ├── raw_dehashed.txt
│ └── socialpwned_dehashed.txt
├── emails
│ └── socialpwned_emails.txt
├── instagram
│ └── socialpwned_instagram.txt
├── linkedin_userames
│ ├── first.last.txt
│ ├── firstl.txt
│ ├── first.txt
│ ├── f.last.txt
│ ├── flast.txt
│ ├── lastf.txt
│ └── rawnames.txt
├── pwndb
│ ├── passwords_pwndb.txt
│ ├── pwndb.txt
│ └── socialpwned_pwndb.txt
├── socialpwned.json
└── twitter
└── socialpwned_twitter.txt
다음은 몇 가지 예시입니다:

docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --info España
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --location 832578276
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --hashtag-ig someHashtag --pwndb
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --pwndb
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --followers-ig --followings-ig --pwndb

docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --search-companies "My Target"
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --search-companies "My Target" --employees --pwndb
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --company 123456789 --employees --pwndb
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --company 123456789 --employees --add-contacts
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --user-contacts user-id --pwndb
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --user-contacts user-id --add-contacts

docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --hashtag-tw someHashtag --pwndb --limit 200 --dehashed
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --target-tw username --all-tw --pwndb --dehashed --ghunt
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --target-tw username --all-tw --followers-tw --followings-tw --pwndb

docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --ghunt --email-gh "[email protected]"
참고: --ghunt 플래그를 추가할 때마다 이 모듈이 실행됩니다. 대량 검색 시 요청 수가 많아 실패할 수 있습니다.

docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --dehashed --email-dh "[email protected]"
참고: 각 검색 끝에 --dehashed 플래그를 추가하면 각 이메일에 대해 API 요청이 이루어집니다.
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --followers-ig --followings-ig --linkedin --company 123456789 --employees --twitter --target-tw username --all-tw --pwndb --ghunt --dehashed
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --linkedin --target-in username --twitter --target-tw username --all-tw --pwndb --ghunt --dehashed
SocialPwned를 상호 동의 없이 대상에 대해 사용하는 것은 불법입니다. 또한 다른 모듈을 사용하여 Linkedin 및 Instagram 규칙을 위반하므로 일시적 또는 영구적으로 차단될 수 있습니다.
SocialPwned 사용에 대한 책임은 최종 사용자에게 있습니다. 개발자는 어떠한 오용이나 손해에 대해 책임을 지지 않습니다.