MCPcopy Create free account

hub / github.com/CyberForce/Pesidious / functions

Functions960 in github.com/CyberForce/Pesidious

↓ 6 callersFunctionwrite_to_file
(feature, filepath: str, is_imports: bool)
binary_builder.py:835
↓ 5 callersMethod__binary_to_bytez
(self, binary, dos_stub=False, imports=False, overlay=False, relocations=False, resources=False, tls=False)
gym_malware/envs/controls/manipulate2.py:39
↓ 5 callersMethodadd_icon
Add icon helper
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:14
↓ 5 callersMethodfill_missing_original_iats
Returns true if original missing IATs will be rebuilt (only if IATs are saved)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:56
↓ 5 callersMethodget_advanced_info_type
Returns advanced debug information type
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:254
↓ 5 callersMethodget_cursor_by_id_lang
Returns cursor data by ID and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:372
↓ 5 callersMethodget_iat_va
Returns IAT entry VA (usable if image has both IAT and original IAT and is bound)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:157
↓ 5 callersMethodget_index_rva
Returns TLS index RVA
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:29
↓ 5 callersMethodget_subsystem
Returns subsystem value
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1100
↓ 5 callersMethodget_time_stamp
Returns debug datetimestamp
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:40
↓ 5 callersMethodhas_imports
Returns true if image has import directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:547
↓ 5 callersFunctionrebuild_relocations
Simple relocations rebuilder To keep PE file working, don't remove any of existing relocations in relocation_table_list returned by a call to get_relo
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:168
↓ 5 callersFunctionrebuild_resources
Resources rebuilder resource_directory - root resource directory resources_section - section where resource directory will be placed (must be attached
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:573
↓ 5 callersMethodsave_iat_and_original_iat_rvas
Returns true if Original import address and import address tables will not be rebuilt, works only if import descriptor IAT (and orig.IAT, if present)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:41
↓ 5 callersMethodsection_data_from_va
Returns corresponding section data pointer from VA inside section "s" for PE32 (checks bounds)
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1160
↓ 5 callersMethodset_iat_va
Sets IAT entry VA (usable if image has both IAT and original IAT and is bound)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:181
↓ 5 callersMethodstrip_data_directories
Strips only zero DATA_DIRECTORY entries to count = min_count Returns resulting number of data directories strip_iat_directory - if true, even not empt
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:541
↓ 5 callersFunctiontest_bound_imports
portable-executable/portable-executable-library2/tests/test_bound_import/main.cpp:11
↓ 5 callersFunctiontest_exports
portable-executable/portable-executable-library2/tests/test_exports/main.cpp:11
↓ 5 callersFunctiontest_resources
portable-executable/portable-executable-library2/tests/test_resources/main.cpp:12
↓ 4 callersMethod_build_export_name
r""" Builds the name that will be used when exporting the model. :param epoch_num: Optional epoch number associated with the model
malgan/__init__.py:255
↓ 4 callersMethodadd_cursor
Add cursor helper
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:170
↓ 4 callersMethodadd_se_handler_rva
Adds SE Handler RVA to list
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:177
↓ 4 callersMethodduplicate
portable-executable/portable-executable-library2/pe_lib/pe_properties_generic.cpp:12
↓ 4 callersFunctionexported_name_exists
Checks if exported function name already exists
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:438
↓ 4 callersFunctionexported_ordinal_exists
Checks if exported function name already exists
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:450
↓ 4 callersMethodget_age
Returns age of build
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:325
↓ 4 callersMethodget_bitmap_by_name
Returns bitmap data by name and index in language directory (instead of language) (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_bitmap_reader.cpp:15
↓ 4 callersMethodget_flags
Returns flags
portable-executable/portable-executable-library2/pe_lib/pe_dotnet.cpp:44
↓ 4 callersMethodget_lock_prefix_table_va
Returns VA of a list of addresses where the LOCK prefix is used
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:105
↓ 4 callersMethodget_major_version
Returns major version
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:46
↓ 4 callersMethodget_message_table_by_id_lang
Returns message table data by ID and language
portable-executable/portable-executable-library2/pe_lib/resource_message_list_reader.cpp:106
↓ 4 callersMethodget_minor_version
Returns minor version
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:52
↓ 4 callersMethodget_ordinal_base
Returns ordinal base
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:136
↓ 4 callersMethodget_rva
Returns RVA of relocation
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:26
↓ 4 callersMethodget_size_of_data
Returns size of debug data (internal, .pdb or other file doesn't count)
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:107
↓ 4 callersMethodget_size_of_image
Returns size of image
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:251
↓ 4 callersMethodhas_exports
Returns true if image has export directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:553
↓ 4 callersMethodhas_reloc
Returns true if image has relocations
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:571
↓ 4 callersMethodhas_resources
Returns true if image has resource directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:559
↓ 4 callersMethodrelease
Destroys included data
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:91
↓ 4 callersMethodremove_cursor_group
Removes cursor group and all its cursors by name/ID and language
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:392
↓ 4 callersMethodremove_icon_group
Removes icon group and all its icons by name/ID and language
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:410
↓ 4 callersMethodresource_exists
Returns true if resource type exists
portable-executable/portable-executable-library2/pe_lib/pe_resource_viewer.cpp:49
↓ 4 callersMethodset_advanced_debug_info
Sets advanced debug information
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:225
↓ 4 callersMethodset_file_alignment
Sets file alignment
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:234
↓ 4 callersMethodset_raw_data_start_rva
Sets start RVA of TLS raw data
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:89
↓ 4 callersMethodset_rva
Sets RVA
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:570
↓ 4 callersMethodset_timestamp
Sets timestamp
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:234
↓ 4 callersMethodset_virtual_size
Sets section virtual size
portable-executable/portable-executable-library2/pe_lib/pe_section.cpp:251
↓ 4 callersMethodstep
(self, action_index)
gym_malware/envs/malware_env.py:55
↓ 4 callersMethodstrip_stub_overlay
Strips MSVC stub overlay
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:128
↓ 3 callersFunction__binary_to_bytez
(binary, dos_stub=False, imports=False, overlay=False, relocations=False, resources=False, tls=False)
mutated_builder.py:176
↓ 3 callersMethod_meas_loader_gen_loss
r""" Calculate the generator loss on malware dataset
malgan/__init__.py:325
↓ 3 callersMethodadd_bitmap
Adds bitmap from bitmap file data. If bitmap already exists, replaces it timestamp will be used for directories that will be added
portable-executable/portable-executable-library2/pe_lib/resource_bitmap_writer.cpp:15
↓ 3 callersMethodadd_data_entry
Adds resource_data_entry
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:190
↓ 3 callersMethodadd_resource_directory
Adds resource_directory
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:198
↓ 3 callersFunctioncalculate_checksum
Calculate checksum of image
portable-executable/portable-executable-library2/pe_lib/pe_checksum.cpp:10
↓ 3 callersMethodcheck_characteristics_flag
Returns true if PE characteristics flag set
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1094
↓ 3 callersFunctiondebug_test
portable-executable/portable-executable-library2/tests/test_debug/main.cpp:11
↓ 3 callersFunctionget_bound_import_module_list
portable-executable/portable-executable-library2/pe_lib/pe_bound_import.cpp:108
↓ 3 callersMethodget_cursor_by_name
Returns cursor data by name and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:330
↓ 3 callersMethodget_dll_characteristics
Returns DLL Characteristics
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1283
↓ 3 callersMethodget_icon_by_id_lang
Returns icon data by ID and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:127
↓ 3 callersMethodget_image_base
Returns image base for PE32
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1319
↓ 3 callersMethodget_name_ordinal
Returns name ordinal of function
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:42
↓ 3 callersMethodget_number_of_id_entries
Returns number of ID entries
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:252
↓ 3 callersMethodget_number_of_named_entries
Returns number of named entries
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:246
↓ 3 callersMethodget_original_filename
Returns original file name
portable-executable/portable-executable-library2/pe_lib/version_info_viewer.cpp:53
↓ 3 callersFunctionget_score_remote
(bytez, private_data)
classifier.py:137
↓ 3 callersMethodget_security_cookie_va
Returns a pointer to a cookie that is used by Visual C++ or GS implementation
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:147
↓ 3 callersMethodget_size_of_zero_fill
Returns size of zero fill
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:41
↓ 3 callersMethodget_times
portable-executable/portable-executable-library2/pe_lib/pe_rich_data.cpp:22
↓ 3 callersMethodget_version_info
Returns full version information: file_version_info: versions and file info lang_string_values_map: map of version info strings with encodings transla
portable-executable/portable-executable-library2/pe_lib/resource_version_info_reader.cpp:61
↓ 3 callersMethodhas_debug
Returns true if image has debug directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:613
↓ 3 callersMethodhas_exception_directory
Returns true if image has exception directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:607
↓ 3 callersMethodhas_name
Returns true if function has name and name ordinal
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:36
↓ 3 callersFunctionimports_to_dict
(adversarial_imports_set: list)
binary_builder.py:118
↓ 3 callersMethodis_dotnet
Returns true if image has COM directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:601
↓ 3 callersMethodlist_resource_types
Lists resource types existing in PE file (non-named only)
portable-executable/portable-executable-library2/pe_lib/pe_resource_viewer.cpp:32
↓ 3 callersMethodpredict
r""" Predict the labels for \p X :param X: Set of examples for which label probabilities should be predicted :return: Pre
malgan/detector.py:72
↓ 3 callersFunctionrebase_image
Recalculates image base with the help of relocation tables
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:250
↓ 3 callersMethodrecalc_raw_data_end_rva
Recalculates end address of raw TLS data
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:83
↓ 3 callersMethodrva_to_file_offset
RVA to RAW file offset convertion (4gb max)
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1337
↓ 3 callersMethodset_advanced_info_type
Sets advanced debug information type, if no advanced info structure available
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:298
↓ 3 callersMethodset_offset_from_section_start
Sets offset from section start where import directory data will be placed
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:80
↓ 2 callersMethod__init__
r""" Malware Generative Adversarial Network Constructor :param mal_data: Malware training dataset. :param ben_data: Benig
malgan/__init__.py:98
↓ 2 callersMethod__random_length
(self)
gym_malware/envs/controls/manipulate2.py:36
↓ 2 callersMethod_calc_gen_loss
r""" Calculates the parameter :math:`L_{G}` as defined in Eq. (3) of Hu & Tan's paper. :param g_theta: :math:`G(_{\theta_g}(m,z)`
malgan/__init__.py:335
↓ 2 callersMethod_delete_old_backup
Helper function to delete old backed up models :param epoch_num: Epoch number associated with old backed up model
malgan/__init__.py:272
↓ 2 callersMethod_entropy_bin_counts
(self, block)
gym_malware/envs/utils/pefeatures.py:72
↓ 2 callersMethod_entropy_bin_counts
(self, block)
gym_malware/envs/utils/pefeatures2.py:72
↓ 2 callersMethod_save
r""" Export the specified model to disk. The function creates any files needed on the path. All exported models will be relative to
malgan/__init__.py:420
↓ 2 callersMethodadd_relocation
Adds relocation to table
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:69
↓ 2 callersMethodadd_resource_directory_entry
Adds resource_directory_entry
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:270
↓ 2 callersMethodadd_symbol
Adds COFF symbol
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:501
↓ 2 callersMethodbuild_loader
r""" Constructs loaders from the datasets :param batch_size: Batch size for training
malgan/__init__.py:67
↓ 2 callersFunctioncalculate_resource_data_space
Helper function to calculate needed space for resource data
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:420
↓ 2 callersMethoddirectory_exists
Returns true if directory exists
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:503
↓ 2 callersMethodempty
(self)
gym_malware/envs/utils/pefeatures2.py:36
← previousnext →101–200 of 960, ranked by callers