Jaime Spacco

54 papers A 19B 7C 2Journal 7Unranked 19
YearRankTypeTitle / Venue / Authors
2026 conf
SIGCSE (2)
Gerald C. Gannod, David P. Bunde, April Renee Crockett, Alan Sussman, Sushil K. Prasad, Charles C. Weems, Ramachandran Vaidyanathan, Suzanne Matthews, Jaime Spacco
2026 conf
SIGCSE (2)
Charles C. Weems, April Renee Crockett, David P. Bunde, Alan Sussman, Ramachandran Vaidyanathan, Sushil Prasad, Gerald C. Gannod, Jaime Spacco
2026 conf
SIGCSE (2)
April Renee Crockett, David P. Bunde, Gerald C. Gannod, Sushil K. Prasad, Jaime Spacco, Alan Sussman, Neena Thota, Charles C. Weems, Ramachandran Vaidyanathan
2025 conf
IPDPS (Workshops)
Mary L. Smith, Srishti Srivastava, David P. Bunde, April Renee Crockett, Michael C. Gerten, Peter Maher, Jaime Spacco, Xiaoyuan Suo, Jiayin Wang, Michelle Zhu
2025 conf
SIGCSE (2)
Alan Sussman, Sushil K. Prasad, David P. Bunde, Jaime Spacco, Gerald C. Gannod, April Renee Crockett, Ramachandran Vaidyanathan
2024 C conf
FIE
David P. Bunde, April Renee Crockett, Gerald C. Gannod, Jaime Spacco, Neena Thota, Charles C. Weems
2023 conf
SIGCSE (2)
Craig B. Zilles, David P. Bunde, Jaime Spacco, Cynthia Bailey Lee, Leo Porter, Cynthia Bagier Taylor
2020 J jnl
Inroads
Heather Bort, David P. Bunde, Zack J. Butler, Christopher Lynnly Hovey, Jaime Spacco, Cynthia Bagier Taylor
2019 conf
HICSS
Stephen H. Edwards, Jaime Spacco, David Hovemeyer
2018 A conf
SIGCSE
David P. Bunde, Cynthia Bagier Taylor, Jaime Spacco, Andrew Petersen, Soohyun Nam Liao, Leo Porter
2018 B conf
ITiCSE
Cynthia Bagier Taylor, Jaime Spacco, David P. Bunde, Andrew Petersen, Soohyun Nam Liao, Leo Porter
2018 A conf
SIGCSE
Cynthia Bagier Taylor, Jaime Spacco, David P. Bunde, Joe Hummel, David Hovemeyer
2018 B conf
ITiCSE
Cynthia Bagier Taylor, Jaime Spacco, David P. Bunde, Thomas Zeume, Zack Butler, Martina Barnas, Heather Bort, Francesco Maiorana, Christopher Lynnly Hovey
2018 conf
ITiCSE (Companion)
Cynthia Bagier Taylor, Jaime Spacco, David P. Bunde, Zack Butler, Heather Bort, Christopher Lynnly Hovey, Francesco Maiorana, Thomas Zeume
2017 A conf
SIGCSE
Cynthia Bagier Taylor, Joe Hummel, David Hovemeyer, David P. Bunde, John F. Dooley, Jaime Spacco
2017 J jnl
J. Comput. Sci. Coll.
David P. Bunde, Jaime Spacco, Joe Hummel, Cynthia Taylor
2017 A conf
SIGCSE
David Hovemeyer, Arto Hellas, Andrew Petersen, Jaime Spacco
2016 A conf
ICER
David Hovemeyer, Arto Hellas, Andrew Petersen, Jaime Spacco
2016 A conf
SIGCSE
Daniel Zingaro, Leo Porter, Quintin I. Cutts, John Glick, Joe Hummel, Cynthia Bailey Lee, Jaime Spacco
2015 conf
Koli Calling
Andrew Petersen, Jaime Spacco, Arto Vihavainen
2015 A conf
SIGCSE
Jaime Spacco, Paul Denny, Brad Richards, David S. Babcock, David Hovemeyer, James Moscola, Robert C. Duvall
2015 conf
ITiCSE-WGR
Petri Ihantola, Arto Vihavainen, Alireza Ahadi, Matthew Butler, Jürgen Börstler, Stephen H. Edwards, Essi Isohanni, Ari Korhonen, Andrew Petersen, Kelly Rivers, Miguel Ángel Rubio, Judy Sheard, Bronius Skupas, Jaime Spacco, Claudia Szabo, Daniel Toll
2015 J jnl
J. Comput. Sci. Coll.
David P. Bunde, Joe Hummel, Jaime Spacco
2015 A conf
SIGCSE
Daniel Zingaro, Leo Porter, Quintin I. Cutts, John Glick, Joe Hummel, Cynthia Bailey Lee, Jaime Spacco
2014 A conf
SIGCSE
David Hovemeyer, Jaime Spacco, Robert C. Duvall, Stephen H. Edwards, Amruth N. Kumar, Andrew Petersen, Daniel Zingaro
2013 A conf
ICER
Andrei Papancea, Jaime Spacco, David Hovemeyer
2013 J jnl
J. Comput. Sci. Coll.
David Hovemeyer, Jaime Spacco
2013 A conf
SIGCSE
David Hovemeyer, Matthew Hertz, Paul Denny, Jaime Spacco, Andrei Papancea, John C. Stamper, Kelly Rivers
2013 A conf
SIGCSE
Beth Simon, Julian Parris, Jaime Spacco
2013 B conf
ITiCSE
David P. Bunde, John F. Dooley, Jaime Spacco
2013 B conf
ITiCSE
Evan Balzuweit, Jaime Spacco
2013 conf
ITiCSE-WGR
Kate Sanders, Marzieh Ahmadzadeh, Tony Clear, Stephen H. Edwards, Michael Goldweber, Chris Johnson, Raymond Lister, Robert McCartney, Elizabeth Ann Patitsas, Jaime Spacco
2013 B conf
ITiCSE
Jaime Spacco, Davide Fossati, John C. Stamper, Kelly Rivers
2012 A conf
SIGCSE
Hannah Fidoten, Jaime Spacco
2012 J jnl
J. Comput. Sci. Coll.
David P. Bunde, Jaime Spacco, Casey Samoore
2012 B conf
ITiCSE
Hannah Fidoten, Jaime Spacco
2009 C conf
SCAM
Jaime Spacco, Chadd C. Williams
2008 A conf
MSR
Chadd C. Williams, Jaime Spacco
2008 A conf
ICER
Kate Sanders, Brad Richards, Jan Erik Moström, Vicki L. Almstrum, Stephen H. Edwards, Sally Fincher, Katherine Gunion, Mark Hall, Brian Hanks, Stephen Lonergan, Robert McCartney, Briana B. Morrison, Jaime Spacco, Lynda Thomas
2008 conf
DEFECTS
Chadd C. Williams, Jaime Spacco
2006 B conf
ITiCSE
Jaime Spacco, David Hovemeyer, William W. Pugh, Fawzi Emad, Jeffrey K. Hollingsworth, Nelson Padua-Perez
2006 conf
OOPSLA Companion
Jaime Spacco, William W. Pugh
2006 conf
OOPSLA Companion
Jaime Spacco, William W. Pugh, Nathaniel Ayewah, David Hovemeyer
2006 A conf
MSR
Jaime Spacco, David Hovemeyer, William W. Pugh
2005 conf
PASTE
David Hovemeyer, Jaime Spacco, William W. Pugh
2005 J jnl
Stud. Inform. Univ.
Jaime Spacco, William W. Pugh
2005 A conf
MSR
Jaime Spacco, Jaymie Strecker, David Hovemeyer, William W. Pugh
2005 J jnl
ACM SIGSOFT Softw. Eng. Notes
Jaime Spacco, Jaymie Strecker, David Hovemeyer, William W. Pugh
2004 conf
eTX
Jaime Spacco, David Hovemeyer, William W. Pugh
2004 conf
OOPSLA Companion
William W. Pugh, Jaime Spacco
2004 A conf
OOPSLA
Polyvios Pratikakis, Jaime Spacco, Michael W. Hicks
2003 conf
LCPC
Konstantin Berlin, Jun Huan, Mary Jacob, Garima Kochhar, Jan F. Prins, William W. Pugh, P. Sadayappan, Jaime Spacco, Chau-Wen Tseng
2003 conf
LCPC
William W. Pugh, Jaime Spacco
2002 A conf
ECOOP
David Hovemeyer, William W. Pugh, Jaime Spacco
redb/extractors/pe_extractors/pe_imports.py
← Index redb/extractors/pe_extractors/pe_imports.py python
import inspect
from typing import Any, List, Tuple
from datetime import datetime, timezone

from redb.extractors.enum import Tag
from redb.extractors.pe_extractor import PEExtractor
from redb.models.dataclasses import PEImport


class PEImportExtractor(PEExtractor):

    def __init__(
        self,
        filepath,
        log,
        exporters=None,
        index_prefix=None,
        elastic_index=None,
        known_benign=False,
        known_malicious=False,
        pe=None,
    ):
        super().__init__(
            filepath,
            log,
            exporters,
            index_prefix,
            elastic_index,
            known_benign,
            known_malicious,
            pe,
        )
        self.elastic_index = self.index_prefix + "-pe_imports"
        self.log.debug(inspect.currentframe().f_code.co_name)

    def tag(self):
        return Tag.PE_IMPORT.value

    def _extract_imports(self):
        self.log.debug(inspect.currentframe().f_code.co_name)

        imports_symbols = []
        imports_lib = []
        imports_total = 0
        # pe_import = None
        try:
            directory_entry_import = getattr(self.pe, "DIRECTORY_ENTRY_IMPORT", [])
            imports_total = len(directory_entry_import)
            for entry in directory_entry_import:
                symbols = []
                tmp_import = {}
                libname = entry.dll.decode() if entry.dll else ""
                imports_lib.append(libname)
                # replace . with _ to avoid issues with elastic
                # entryname = entryname.replace(".", "_")
                for symbol in entry.imports:
                    if symbol.name:
                        symbols.append(symbol.name.decode())
                # imports_symbols[entryname] = symbols
                tmp_import[libname] = symbols
                imports_symbols.append(tmp_import)
            return PEImport(
                pe_imports_total=imports_total,
                pe_import_libraryName=imports_lib if imports_lib else None,
                pe_import_functions=imports_symbols if imports_symbols else None,
            )
        except Exception as e:
            self.log.error(f"Extract imports error {self.hash.sha256} Exception: {e}")
        return pe_import

    def extract(self):
        try:
            self.log.debug(inspect.currentframe().f_code.co_name)
            return self._extract_imports()
        except Exception as e:
            self.log.error(f"Extract imports error {self.hash.sha256} Exception: {e}")
            return None

    def prepare_export_data(self, exporter_type: str) -> Any:
        if exporter_type == "ElasticsearchExporter":
            return self.extract()
        elif exporter_type == "ClickHouseExporter":
            imports = self.extract()
            if (
                imports is None
                or imports.pe_imports_total == 0
                or (
                    imports.pe_import_libraryName is None
                    and imports.pe_import_functions is None
                )
            ):
                return None

            # Flatten the data - one row per function import
            data = []
            current_time = datetime.now(timezone.utc)

            for lib_funcs in imports.pe_import_functions:
                for lib, funcs in lib_funcs.items():
                    for func in funcs:
                        data.append(
                            [
                                self.sha256,  # sha256
                                self.md5,  # md5
                                self.sha1,  # sha1
                                lib,  # library_name
                                func,  # function_name
                                current_time,  # analysis_date
                            ]
                        )

            column_names = [
                "sha256",
                "md5",
                "sha1",
                "library_name",
                "function_name",
                "analysis_date",
            ]

            column_type_names = [
                "FixedString(64)",
                "FixedString(32)",
                "FixedString(40)",
                "LowCardinality(Nullable(String))",
                "LowCardinality(Nullable(String))",
                "DateTime64(3, 'UTC')",
            ]

            if not data:
                return None

            return (data, column_names, column_type_names)

    def get_clickhouse_table(self) -> str:
        return "redb_pe_imports"