WhiteBox is tool for scanning source code of your projects.
It is combination of different source code scanner tools that work automatically in same time.
First of all, you need to add asset to workspace. Supported Asset types are:
For scanning your files Cryeye project can offer you 3 different ways:
Whitebox service
This service will be deprecated and moved to Multi Target Audit projects.
Props:
Cons:
Multi Target audit project
Props:
Cons:
Singular Target audit project
Props:
Cons:
For example let's scan JavaScript vulnerable web application (vwa): https://github.com/cqr-cryeye-forks/vwa and select main branch master
All services can be added while adding asset
On whitebox page are listed all projects. You can filter them by target, selected preset, scan status and asset type
When analyzing will be finished, you will see Analyzing status
as completed.
Each project has control buttons.
When you click to see results if you have only 1 scan - you will be redirected to it's results. If more than one you can select that you need.
Results are adding during scan. so even if scan is still in progress - founeded data will be shown.
On the top of scan results you can review general scan info, such as time of scanning, total issues count, scan status, tools that were used, tools whose results were analyzed.
On scan page you can see file tree, code viewer and findings list
On Scan logs tab you can view logs and issues from audits and result parsing
Whitebox in multitarget projects is still developing. For future it is prefered way for scanning, but now you can not see processed results as in whitebox service.
Whitebox
Go to created project and click on Configure & Run
.
Here you can select preset that you want.
After selecting preset you are able to view automatically selected audits. You can modify audits that will scan you targets.
Workflow works as in Simpe audit
project type, but results view has one more tab.
Main
tab provide file tree and code viwer. Facts currently are not supported. (but they will be added as soon as possible)
You can view audits results on Results
tab.
On control tab you can view logs of each step - file tree generating, status of each audit, whitebox post processingg logs and issues.
This system is same as for scanning other asset types. You can not select presets or see custom result from whitebox. Just run selected audits and see theirs results. This project type is outdated so Multi target audit project
is better option.
WhiteBox now supported next asset types:
Repository must be public, because whitebox need access to it.
If you have different branches, you can select which you want to scan. Cryeye can parse different types of link:
If your repository is private, or you don't have it at all, you can upload zip archive or other file for analyzing.
For scanning you can choose one or more presers, that are used in your sources.
Whitebox now supports next Program languages:
File manager - list of all scanned files saving folders structure. If there are vulnerabilities in file - alert text has vulnerabilities
will be shown.
When you want to see files inside some path, all previous folders will be shown above, as in usual explorer.
Also you can search files by name as in usual file explorer.
You will see file content when you click on a file name.
Center field is file viewer. Here you can see data from file. Highlighted lines - lines with vulnerabilities.
If you don't like default theme - you can choose another one in menu above viewer - we have about 50 different themes:
Whitebox has the same facts system as in audits page. It is on the rigth of the asset page.
First of all you can see general information and facts diagram by severity:
And under them list of all facts.
When you click on fact, you will see the issue in the file.
You can filter facts by different parameters in this menu.
For example:
Number in brackets in file list shows issues count in file.
Also you can filter by tool name, or in advanced filters disable specific tool(s)
You have ability to save founded issues as PDF file.
Click Export PDF
for generating report:
After a while you will see notification window (may be different, depending on your os) for saving file.
Click 'OK' and file will be saved on you device.
We hardly work on intergating more different tools. For this moment we use next tools for analyzing: