Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Token-Hunter - Collect OSINT For GitLab Groups And Members And Search The Group And Group Members' Snippets, Issues, And Issue Discussions For Sensitive Data That May Be Included In These Assets

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Token-Hunter - Collect OSINT For GitLab Groups And Members And Search The Group And Group Members' Snippets, Issues, And Issue Discussions For Sensitive Data That May Be Included In These Assets


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


Collect OSINT for GitLab groups and members and search the group and group members' snippets, issues, and issue discussions for sensitive data that may be included in these assets. The information gathered is intended to compliment and inform the use of additional tools such as TruffleHog or GitRob, which search git commit history using a similar technique of regular expression matching.


How the tool works

Start by providing a group ID for a specific group on GitLab. You can find the group ID underneath the group name in the GitLab UI. Token-Hunter will use the GitLab group ID to find all associated projects for that group and, optionally, the groups members personal projects. Configure the tool to look for sensitive data in assets related to the projects it finds. Token-Hunter uses the same set of regular expressions as TruffleHog with a few additions for GitLab specific tokens. Token-Hunter depends on these easily configurable regular expressions for accuracy and effectiveness. Currently, the tool supports GitLab snippets, issues, and issue discussions with plans for future expansion to other assets. The tool is intended to be very configurable to allow for efficient discovery of sensitive data in the assets you're specifically interested in.


Usage

Before running the tool, you will need to generate a GitLab Personal Access Token (PAT) and export it as an environment variable. This can be done as shown below (please select api in the scopes section):

export GITLAB_API_TOKEN=xxxxx

Next, clone the repository and install dependencies with:

git clone https://gitlab.com/gitlab-com/gl-security/gl-redteam/token-hunter.git
pip3 install -r ./requirements.txt

Then, you can run the tool and specify your options as follows:

usage: token-hunter.py [-h] -g GROUP [-u URL] [-m] [-s] [-i] [-r] [-t]
[-p PROXY] [-c CERT] [-l LOGFILE]

Collect OSINT for GitLab groups and members. Optionally search the group and
group members snippets, project issues, and issue discussions/comments for
sensitive data.

optional arguments:
-h, --help show this help message and exit
-u URL, --url URL An optional argument to specify the base URL of your
GitLab instance. If the argument is not supplied, its
defaulted to 'https://gitlab.com'
-m, --members Include group members personal projects and their
related assets in the searchfor sensitive data.
-s, --snippets Searches found projects for GitLab Snippets with
sensitive data.
-i, --issues Searches found projects for GitLab Issues and
discussions/comments with sensitive data.
-r, --mergerequests Searches found projects for GitLab Merge Requests and
discussions/comments with sensitive data.
-t, --timestamp Disables display of start/finish times and originating
IP to the output
-p PROXY, --proxy PROXY
Proxies all requests using the provided URI matching
the scheme: http(s)://user:pass@10.10.10.10:8000
-c CERT, --cert CERT Used in tandem with -p (--proxy), this switch provides
a fully qualified path to a certificate to verify TLS
connections. Provide a fully qualified path to the
dynamic cert. Example:
/Users/<username>/owasp_zap_root_ca.cer.
-l LOGFILE, --logfile LOGFILE
Will APPEND all output to specified file.

required arguments:
-g GROUP, --group GROUP
ID or HTML encoded name of a GitLab group. This
option, by itself, will display group projects and
member names only.

Usage Examples

./token-hunter.py -g 123456

The simplest use case is to return all the project URLs associated with a group by providing the group ID with the -g switch. You can find the group ID underneath the group name in the GitLab UI. No token searches are performed with this configuration.

./token-hunter.py -g 123456 -m

Finds all projects for group 123456 as well as all of the personal projects for the group members. No token searches are performed with this configuration.

./token-hunter.py -g 123456 -ms

Finds all projects for group 123456 as well as all of the personal projects for the group members. The -s switch tells Token-Hunter to search GitLab snippets associated with each found project for sensitive data.

./token-hunter.py -g 123456 -msir

Finds all projects for group 123456 as well as all of the personal projects for the group members. The -s switch tells Token-Hunter to search GitLab snippets associated with each found project for sensitive data. The -i switch tells Token-Hunter to also search issues and discussions for each of the found projects for sensitive data. The -r switch tells Token-Hunter to also search merge requests and merge request discussions for each of the found projects. CAUTION: This configuration has the potential to pull a lot of data!

./token-hunter.py -g 123456 -msit -u https://mygitlab-instance.com -p http://127.0.01:8080 -c /Users/hacker/owasp_zap_ca_cert.cer -l ./appended-output.txt

Performs the same asset searches as the previous example against a self-hosted installation of GitLab running at https://mygitlab-instance.com. Requests and responses that the tool generates are proxied through http://127.0.01:8080 using the certificate defined at the fully qualified path /Users/hacker/owasp_zap_ca_cert.cer to decrypt the TLS traffic. Timestamps and origin IP are excluded from the output with the -t switch. Output is APPENDED to the ./appended-output.txt file with the -l switch.


Contributing

Contributions are welcome from the community. You can find and add to the issue list, submit merge requests, and add to the existing discussions. Token-Hunter is written in python 3. To make a code contribution:

  1. Install python version 3
  2. Install pip version 3 to manage dependencies using the guide above.
  3. Clone the repository
  4. In the root directory, install dependencies with pip3 install -r ./requirements.txt
  5. Create a branch for the changes you'd like to make.
  6. Modify or add test coverage in the existing ./test_* files, adding new files as needed.
  7. Execute tests, written in pytest, with pytest -v to make sure they pass.
  8. Create a merge requests for your changes and tag @gitlab-red-team to review and merge it.
  9. Repeat!


...



๐Ÿ“Œ Project Snippets 1.5 - Simple snippets manager with focus on projects.


๐Ÿ“ˆ 37 Punkte

๐Ÿ“Œ GitLab: Information Disclosure - Pvt Gitlab Issue Disclosing Through GitLab Unfiltered YouTube channel.


๐Ÿ“ˆ 36.96 Punkte

๐Ÿ“Œ OSINT-SPY - Search using OSINT (Open Source Intelligence)


๐Ÿ“ˆ 36.93 Punkte

๐Ÿ“Œ Gitlab-Watchman - Monitoring GitLab For Sensitive Data Shared Publicly


๐Ÿ“ˆ 33.3 Punkte

๐Ÿ“Œ GitLab Watchman โ€“ Audit Gitlab For Sensitive Data & Credentials


๐Ÿ“ˆ 33.3 Punkte

๐Ÿ“Œ GitLab: Group search with Elastic search enable leaks unrelated data


๐Ÿ“ˆ 32.05 Punkte

๐Ÿ“Œ What's OSINT? : Best Free OSINT Information Gathering Tools


๐Ÿ“ˆ 30.27 Punkte

๐Ÿ“Œ Pockint - A Portable OSINT Swiss Army Knife For DFIR/OSINT Professionals


๐Ÿ“ˆ 30.27 Punkte

๐Ÿ“Œ OSINT-Framework - OSINT Framework


๐Ÿ“ˆ 30.27 Punkte

๐Ÿ“Œ How to set up on-prem Gitlab VCS, Gitlab CI/CD, Gitlab Runner, with Docker


๐Ÿ“ˆ 29.22 Punkte

๐Ÿ“Œ Gitlab Demystified : Part - 1 :- Introduction to Gitlab & Gitlab Runners


๐Ÿ“ˆ 29.22 Punkte

๐Ÿ“Œ CVE-2023-3907 | GitLab Enterprise Edition prior 16.4.4/16.5.4/16.6.2 Project Access Token privileges management (Issue 418878)


๐Ÿ“ˆ 28.31 Punkte

๐Ÿ“Œ Important Updates to our Terms of Service and Telemetry Services (#34833) ยท Issues ยท GitLab.org / GitLab


๐Ÿ“ˆ 28.03 Punkte

๐Ÿ“Œ DEF CON Safe Mode DC Groups Village - DC574 South Bend - OSINT


๐Ÿ“ˆ 26.7 Punkte

๐Ÿ“Œ GitHub: [PATs] Token with Read-Only permissions on Issues able to modify issue comments using content write permission


๐Ÿ“ˆ 26.57 Punkte

๐Ÿ“Œ Woody Ad Snippets <= 2.2.4 - Multiple Issues


๐Ÿ“ˆ 26.5 Punkte

๐Ÿ“Œ Sensitive data exposure in public web assets: A hidden threat


๐Ÿ“ˆ 25.76 Punkte

๐Ÿ“Œ EmploLeaks - An OSINT Tool That Helps Detect Members Of A Company With Leaked Credentials


๐Ÿ“ˆ 25.72 Punkte

๐Ÿ“Œ Facebook Reveals New Data Leak Incident Involving Groups' Members


๐Ÿ“ˆ 25.5 Punkte

๐Ÿ“Œ Public Google Groups Leaking Sensitive Data at Thousands of Orgs


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ Misconfigured Google Groups Settings Leaking Sensitive Data


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ Misconfigured Google Groups Expose Sensitive Data


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ Thousands of Organizations Are Exposing Sensitive Data Via Google Groups Lists, Researchers Find


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ Thousands of Organizations Expose Sensitive Data via Google Groups


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ Thousands of organizations leak sensitive data via misconfigured Google Groups


๐Ÿ“ˆ 25.38 Punkte

๐Ÿ“Œ CVE-2023-1787 | GitLab up to 15.9.3/15.10.0 Issue Description denial of service (Issue 394817)


๐Ÿ“ˆ 25.22 Punkte

๐Ÿ“Œ CVE-2023-3904 | GitLab Enterprise Edition up to 16.4.3/16.6.1 Issue Time access control (Issue 418226)


๐Ÿ“ˆ 25.22 Punkte

๐Ÿ“Œ EU Copyright Reform Proposes Search Engines Pay For Snippets


๐Ÿ“ˆ 25.16 Punkte

๐Ÿ“Œ EU Copyright Reform Proposes Search Engines Pay For Snippets


๐Ÿ“ˆ 25.16 Punkte

๐Ÿ“Œ Google's Featured Snippets Are Damaging To Small Businesses that Depend On Search Traffic


๐Ÿ“ˆ 25.16 Punkte

๐Ÿ“Œ CVE-2023-5963 | GitLab Enterprise Edition prior 16.3.6/16.4.2/16.5.1 Advanced Search denial of service (Issue 42346)


๐Ÿ“ˆ 24.14 Punkte

๐Ÿ“Œ http://e-musrenbang.acehbesarkab.go.id/local/resources/assets/assets/img/gallery/hidayatullah.jpg


๐Ÿ“ˆ 23.9 Punkte

๐Ÿ“Œ Assets statt Identitรคten? Assets und Identitรคten!


๐Ÿ“ˆ 23.9 Punkte

๐Ÿ“Œ https://dishub.jemberkab.go.id/assets/adm_in/assets/


๐Ÿ“ˆ 23.9 Punkte











matomo